Top "Ld" questions

The ld (linker or loader) program combines object files, archive files and (references from) shared libraries, relocates their data and addresses together with symbol references.

Linkage against libQt5Core

I installed Qt5.4 with the online installer (working on ubuntu 14). I'm trying to compile my c++ source and link against …

c++ qt ubuntu compilation ld
Can't link assembly file in Mac OS X using ld

I'm trying to run a basic assembly file using 64 Bit Mac OS X Lion, using nasm and ld which are …

macos assembly nasm ld object-files
How would you list the available functions etc contained within a compiled library?

How do I determine whether a function exists within a library, or list out the functions in a compiled library?

c++ linker ld
Resolving circular dependencies by linking the same library twice?

We have a code base broken up into static libraries. Unfortunately, the libraries have circular dependencies; e.g., libfoo.a …

c++ linux linker ld circular-dependency
C - undefined reference to "sqrt" even with '-lm'

I try to compile a library in C that need "math.h", here is the begining of the .c file: #…

c gcc ld math.h
Why I cannot override search path of dynamic libraries with LD_LIBRARY_PATH?

Edit: I resolved this issue, the solution is below. I am building a code in a shared computing cluster dedicated …

linux ld dynamic-linking fftw
How to make gcc link strong symbol in static library to overwrite weak symbol?

My problem can be summarised in the following: bar.c: #include <stdio.h> void bar() { printf("bar\n"); } …

c gcc ld weak-linking
How to link to a different libc file?

I want to supply the shared libraries along with my program rather than using the target system's due to version …

c gcc linker ld libc
Compile and add an object file from a binary with CMake

I am writing an Excel file builder in C++. I have everything I need working, but I still rely on …

c++ cmake ld
/usr/bin/ld: Dwarf Error

I'm trying to compile a complex application with nvcc, and a need to change the compiler from mpic++ to g++, …

g++ ld nvcc dwarf