boost.m4 icon indicating copy to clipboard operation
boost.m4 copied to clipboard

Favor linking against non-versioned shared object.

Open qdii opened this issue 10 years ago • 0 comments

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.

qdii avatar Jan 19 '15 12:01 qdii