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.

MinGW/Eclipse ld.exe does not find libraries

I am using Eclipse CDT to try to compile a project with the Ogre 3D engine. But somehow mingw is …

c++ eclipse mingw eclipse-cdt ld
undefined reference to `log'

I am trying to compile the implementation of the RFC 3797 random selection algorithm by Donald Eastlake (code: http://kambing.ui.…

c math random makefile ld
What are the --start-group and --end-group command line options?

What is the purpose of those command line options? Please help to decipher the meaning of the following command line: …

gcc linker ld
install_name_tool to update a executable to search for dylib in Mac OS X

I have a dynamic libray libtest.dylib that is installed in /PATH/lib, and an execution binary, myapp, that uses …

macos path ld dylib dyld
SDKROOT path for latest SDK

I am using Xcode to build an old code and specify SDKROOT=/Developer/SDKs/MacOSX"${HOST_VERSION}".sdk/ I want …

xcode macos xcode4.5 ld
How to link C++ object files with ld

I'm trying to link the output of C++ using ld and not g++. I'm only doing this to learn how …

c++ linker linker-errors ld libstdc++
Linking against older symbol version in a .so file

Using gcc and ld on x86_64 linux I need to link against a newer version of a library (glibc 2.14) but …

c linux gcc linker ld
Why does ld need -rpath-link when linking an executable against a so that needs another so?

I'm just curious here. I have created a shared object: gcc -o liba.so -fPIC -shared liba.c And one …

c gcc shared-libraries ld rpath
Ubuntu 12.04: ld cannot find library

I'm trying to compile Caffe (http://caffe.berkeleyvision.org/installation.html) and I get the following errors: /usr/bin/ld: …

linux ubuntu ubuntu-12.04 ld
linker error while linking boost log tutorial (undefined references)

I have installed boost on Fedora 20 via yum and am trying some simple examples. However I have trouble to compile …

c++ boost fedora ld