Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

C3D make error #116

Closed
STZhang opened this issue May 9, 2016 · 14 comments
Closed

C3D make error #116

STZhang opened this issue May 9, 2016 · 14 comments

Comments

@STZhang
Copy link

STZhang commented May 9, 2016

Got a make error

/usr/bin/g++ build/tools/compute_volume_mean_from_list.o build/lib/libcaffe.a -o build/tools/compute_volume_mean_from_list.bin -pthread -fPIC -DNDEBUG -O2 -I/usr/local/include/python2.7 -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/include -Ibuild/src -I./src -I./include -I/usr/local/cuda/include -I/scail/scratch/u/zhangst/coaction/install/OpenBLAS_lib/include/ -L/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib -L/scail/scratch/u/zhangst/coaction/install/OpenBLAS_lib/lib -lcudart -lcublas -lcurand -lpthread -lglog -lprotobuf -lleveldb -lsnappy -lboost_system -lhdf5_hl -lhdf5 -lopencv_core -lopencv_highgui -lopencv_imgproc -lopenblas -Wall
/usr/bin/ld: /usr/local/lib/libhdf5.a(H5PL.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [build/tools/compute_volume_mean_from_list.bin] Error 1

Any idea what may caused it? Appreciate the help :)

@dutran
Copy link
Contributor

dutran commented May 9, 2016

Do you have hdf5 installed? It seens you are missing that.

@STZhang
Copy link
Author

STZhang commented May 10, 2016

I've tried to uninstall and reinstall it and still got this error TT.

@dutran
Copy link
Contributor

dutran commented May 10, 2016

hdf5?

@STZhang
Copy link
Author

STZhang commented May 10, 2016

Yep.

@dutran
Copy link
Contributor

dutran commented May 10, 2016

give anaconda a try.

@STZhang
Copy link
Author

STZhang commented May 10, 2016

I'm currently using anaconda now, and tried to reinstall hdf5 by conda install hdf5....

@dutran
Copy link
Contributor

dutran commented May 10, 2016

which gcc you used. dlclose@@GLIBC_2.2.5 is related to glibc

@STZhang
Copy link
Author

STZhang commented May 10, 2016

That's my gcc -v

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper

Target: x86_64-linux-gnu

Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu

Thread model: posix

gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.1)

@dutran
Copy link
Contributor

dutran commented May 10, 2016

Looks fine to me

@STZhang
Copy link
Author

STZhang commented May 10, 2016

Any other suggestion for this error?

@STZhang
Copy link
Author

STZhang commented May 10, 2016

Thank you so much for your help and time!
Found them too, but didn't work on me. I would try to work on checking libdl.
Would update if I fix this

@STZhang
Copy link
Author

STZhang commented May 10, 2016

Suggestion.... change a machine to work on....
Should be something about libdl.

@dutran
Copy link
Contributor

dutran commented May 10, 2016

good to hear!

@dutran dutran closed this as completed May 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants