Hi, <br>local machine(A): boost-1.33.1, suse 10.3, gcc-4.2.1 <br>A:/home/aa # ldconfig -p | grep boost_thread<br>������� libboost_thread-mt.so.1.33.1 (libc6) => /usr/lib/libboost_thread-mt.so.1.33.1<br>������� libboost_thread-mt.so (libc6) => /usr/lib/libboost_thread-mt.so<br> <br>remote machine(B): boost-1.34.1, fedora 10, gcc-4.3.2. And i can NOT configure B.<br>B:/home/bb # ldconfig -p | grep boost_thread<br> ������� libboost_thread-mt.so.3 (libc6) => /usr/lib/libboost_thread-mt.so.3<br> ������� libboost_thread-mt.so (libc6) => /usr/lib/libboost_thread-mt.so<br><br>The problem is that i compile main in A with LDFLAGS=-lboost_thread-mt. And main is linked to libboost_thread-mt.so.1.33.1. <br>A:~/aa> ldd main | grep boost_thread<br> ������� libboost_thread-mt.so.1.33.1 => /usr/lib/libboost_thread-mt.so.1.33.1 (0xb7ca6000)<br><br>When i try to run main in B, it fails, of course, with message: "main: error while loading shared library: libboost_thread-mt.so.1.33.1: can not open shared object file: No such file or directory."<br> <br>How can i force g++ link main to libboost_thread-mt.so in A?<br><br>Thanks in advance!:)<br><br>-- <br>Louis Chen<br>Southeast University, Nanjing<br><a href="mailto:Email%3Acszzys@gmail.com">Email:cszzys@gmail.com</a><br>