> 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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to