caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Fail to install with error "cannot find

Open Shaofanl opened this issue 12 years ago • 5 comments

When I was compiling with "make all" This error message occured:

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

Then I use "make all --debug" to look inside:

File “all” doesn't exist File ".build_release/lib/libcaffe.so” doesn't exist

Anyone know how to fix it?

Shaofanl avatar Dec 01 '14 11:12 Shaofanl

It looks like you didn't install any BLAS library (see here: http://caffe.berkeleyvision.org/installation.html#cuda-and-blas)

lukeyeager avatar Dec 01 '14 17:12 lukeyeager

Ask usage questions on the caffe-users mailing list. Thanks!

sguada avatar Dec 04 '14 02:12 sguada

I meet the same problem.

_CXX src/caffe/util/signal_handler.cpp CXX src/caffe/util/upgrade_proto.cpp AR -o .build_release/lib/libcaffe.a LD -o .build_release/lib/libcaffe.so.1.0.0-rc3 /bin/ld: cannot find -lcblas /bin/ld: cannot find -latlas collect2: error:ld returned 1 make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] error 1 [root@lingfeng caffe]# _

May I ask have you dealt with it?

linrio avatar Mar 22 '16 14:03 linrio

I ran this problem, too. Have you solved the problem?

ghost avatar Aug 15 '16 03:08 ghost

I ran this problem, too. Have you solved the problem? LD -o .build_release/lib/libcaffe.so.1.0.0 /usr/bin/ld: cannot find -lcblas /usr/bin/ld: cannot find -latlas collect2: 错误:ld 返回 1 make: *** [.build_release/lib/libcaffe.so.1.0.0] 错误 1

WanZhang1 avatar Jan 31 '18 06:01 WanZhang1