Skip to content

undefined reference to `dladdr' #14

@SiegeLord

Description

@SiegeLord

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions