Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `dladdr' #14

Closed
SiegeLord opened this issue Oct 30, 2011 · 1 comment
Closed

undefined reference to `dladdr' #14

SiegeLord opened this issue Oct 30, 2011 · 1 comment

Comments

@SiegeLord
Copy link
Contributor

Compiling the revision 52c6347 results in these error messages:

Linking CXX executable ../bin/ldc
/usr/lib/llvm-2.9/lib/libLLVMSupport.a(Signals.o): In function PrintStackTrace(void*)': (.text+0x6c): undefined reference todladdr'
/usr/lib/llvm-2.9/lib/libLLVMSupport.a(Signals.o): In function PrintStackTrace(void*)': (.text+0x187): undefined reference todladdr'

Workabout is to do add this define when running cmake:

-DCMAKE_EXE_LINKER_FLAGS=-ldl

@dnadlinger
Copy link
Member

Thanks, fixed in 4703232.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants