LTS5 / cmp_nipype

This repository is meant to host a beta version for the future release of the ConnectomeMapper.
Other
13 stars 5 forks source link

libboost1.48.0 error #42

Open ncullen93 opened 8 years ago

ncullen93 commented 8 years ago

I have libboost1.54.0 installed, and tried to create a symbolic link using "sudo ln -s libboost.so.1.54.0 libboost.so.1.48.0" but then an error/warning comes about when I try to run DTB_dtk2dir saying "DTB_dtk2dir: Symbol `_ZTVN5boost15program_options16validation_errorE' has different size in shared object, consider re-linking" ... Any ideas how to fix this? Libboost.1.48.0 is very old, and I'm wondering if I can avoid having to download and build it myself.

I'm using UBUNTU 14.04 by the way.

Thanks Nick

ncullen93 commented 8 years ago

Additionally, when I try to build the debian package, I get this error:

dpkg-shlibdeps: warning: /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.48.0 has an unexpected SONAME (libboost_program_options.so.1.54.0) dpkg-shlibdeps: error: no dependency information found for /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.48.0 (used by debian/cmp/usr/bin/DTB_gfa) dh_shlibdeps: dpkg-shlibdeps -Tdebian/cmp.substvars debian/cmp/usr/bin/DTB_streamline debian/cmp/usr/bin/DTB_gfa debian/cmp/usr/bin/DTB_dtk2dir debian/cmp/usr/bin/DTB_P0 returned exit code 2 make[1]: * [binary-predeb-IMPL/cmp] Error 2 make[1]: Leaving directory `/home/nick/Downloads/cmp_nipype-2.1.0-beta' dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2 make: * [builddeb] Error 2

ncullen93 commented 8 years ago

For those who come across this error in the future, I solved it by downloading and building the libboost-1.48.0 source code in a local directory, then copying the libboost_program_options.so.1.48.0 file into the /usr/lib/... directory.