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

Favor linking against non-versioned shared object. #66

Open
qdii opened this issue Jan 19, 2015 · 0 comments
Open

Favor linking against non-versioned shared object. #66

qdii opened this issue Jan 19, 2015 · 0 comments

Comments

@qdii
Copy link
Contributor

qdii commented Jan 19, 2015

Suppose that /usr/lib has:

libboost_regex.so -> libboost_regex.so.1.55.0
libboost_regex.so.1.55.0

BOOST_REGEX will set BOOST_REGEX_LIBS to libboost_regex.so.1.55.0, which in turns creates a dependency from the binary to a very specific version of boost.

BOOST_REGEX_LIBS should be set to libboost_regex.so so that the binary can be used with different versions of boost. It is the package maintainer's job to ensure that the system's runtime loads one of the correct version of boost.

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