Closed jbeich closed 7 years ago
$ make check [...] [ 44%] Linking C executable test-006 cd tests && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/test-006.dir/link.txt --verbose=1 /usr/bin/cc -pthread -std=gnu99 CMakeFiles/test-006.dir/test-006.c.o CMakeFiles/test-006.dir/tests-common.c.o -o test-006 -Wl,-rpath,/usr/local/lib /usr/local/lib/libX11.so -ldl /usr/bin/ld: cannot find -ldl cc: error: linker command failed with exit code 1 (use -v to see invocation)
Looks good. Thanks!
Out of curiosity, what value CMAKE_DL_LIBS has on your machine?
CMAKE_DL_LIBS
CMAKE_DL_LIBS is empty here. dlopen() and friends are provided by libc.