/usr/bin/ld: cannot find -lboost_thread | when caffe, make all

Affichage de 18 messages sur 8
/usr/bin/ld: cannot find -lboost_thread | when caffe, make all Xiang Li 12/01/15 00:30
when I use " make all " to setup caffe in centos, this happens.

/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
make: *** [.build_release/lib/libcaffe.so] Error 1


seems like I have no boost library, but I type ' sudo yum install boost '

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * epel: ftp.sjtu.edu.cn
 * extras: ftp.sjtu.edu.cn
 * updates: ftp.sjtu.edu.cn
Setting up Install Process
Package boost-1.41.0-25.el6.x86_64 already installed and latest version
Nothing to do

I found boost has already been setup. How to solve this ? (/usr/bin/ld: cannot find -lboost_thread)

Thank you very much for helping.

Re: /usr/bin/ld: cannot find -lboost_thread | when caffe, make all Ben Kang 12/01/15 07:25
You could try the following two ways

1. re-install the boost

2. find if there is libboost_thread-mt. If so, make an symbolic link named libboost_thread to it.

Both worked for me before.
Re: /usr/bin/ld: cannot find -lboost_thread | when caffe, make all Xiang Li 12/01/15 17:08
thanks very much, I found libboost_thread-mt.so in lib64~

在 2015年1月12日星期一 UTC+8下午11:25:38,Ben Kang写道:
Re: /usr/bin/ld: cannot find -lboost_thread | when caffe, make all Quan Fang 10/02/15 05:46
Hi Xiang, I have encountered the same problem on CentOS. How to make an symbolic link named libboost_thread to  libboost_thread-mt?
unk...@googlegroups.com 10/02/15 05:51 <Ce message a été supprimé.>
Re: /usr/bin/ld: cannot find -lboost_thread | when caffe, make all Eric Eiffel 17/02/15 00:15
you can make a soft link direct to libboost_thread-mt.so,make libboost_thread.so link to libboost_thread-mt.so,then make it~~

在 2015年2月10日星期二 UTC+8下午9:46:56,Quan Fang写道:
Re: /usr/bin/ld: cannot find -lboost_thread | when caffe, make all Eric Eiffel 17/02/15 00:22
Or you can try this,vi Makefile change LIBRARIES += boost_thread to LIBRARIES += boost_thread-mt

在 2015年2月17日星期二 UTC+8下午4:15:50,Eric Eiffel写道:
unk...@googlegroups.com 17/02/15 02:27 <Ce message a été supprimé.>