I'm on a Linux machine in which I don't have root access. This machine has Boost 1.36 on it, but I need a newer version of boost, so I installed a local version of Boost 1.62. I'm linking some object files with nvcc. The link also includes about 20 third-party dynamic libraries. The output result of the link is another dynamic library.
The problem is this: if I run 'ldd' on the output library, it tells me that library is dependent on both libboost_system.so.1.36.0 and libboost_system.so.1.62.0.
I can't figure out how the libboost_system.so.1.36.0 got in there. None of the other dynamic libraries are dependent on libboost_system.so.1.36.0 (I ran ldd on all of them). How can I tell where the libboost 1.36 dependency comes from?
Here is a brief description of the linker command that creates the output library:
nvcc --ptxas-options=-v --compiler-options '-fPIC' --shared
lots of object files
lots of -L/wherever -lwhatever options
-o libOutput.so