[CMake] unexpected INSTALL problems
Dominik Szczerba
dominik at itis.ethz.ch
Wed Jun 15 17:43:10 EDT 2011
> This behavior is really strange and I tested it in the last 10 minutes.
> CMake says:
> boost libs: /usr/lib/libboost_system-mt.so
>
> Compiling and linking with verbose reveals the link command:
> /usr/bin/c++ CMakeFiles/test.dir/test.cpp.o -o test -rdynamic
> -lboost_system-mt
>
> But a ldd on test gives:
> andreas[515:3]:ldd test
> linux-vdso.so.1 => (0x00007fff2fb4a000)
> libboost_system.so.1.46.1 => /usr/lib/libboost_system.so.1.46.1
> (0x00007f525e8c7000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f525e5bd000)
> libm.so.6 => /lib/libm.so.6 (0x00007f525e33a000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f525e124000)
> libc.so.6 => /lib/libc.so.6 (0x00007f525ddc3000)
> librt.so.1 => /lib/librt.so.1 (0x00007f525dbba000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x00007f525d99e000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f525eaf5000)
>
> I don't install, only build the executable.
Installation does not change this picture for me.
Dominik
More information about the CMake
mailing list