Linking error for libcaffe.so when running 'make'

48 views
Skip to first unread message

Krishnan Raghavan

unread,
Nov 17, 2015, 6:39:21 AM11/17/15
to Caffe Users

When running make, the following error occurs.


LD -o .build_release/lib/libcaffe.so
/usr/bin/ld: /usr/lib/libc.a(atexit.o): relocation R_X86_64_32 against `__dso_handle' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libc.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [.build_release/lib/libcaffe.so] Error 1


Can someone tell me how to overcome this?


Thanks

Reply all
Reply to author
Forward
0 new messages