Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libboost1.48.0 error #42

Open
ncullen93 opened this issue Jul 27, 2016 · 2 comments
Open

libboost1.48.0 error #42

ncullen93 opened this issue Jul 27, 2016 · 2 comments

Comments

@ncullen93
Copy link

ncullen93 commented Jul 27, 2016

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
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant