Boost Users :
Subject: Re: [Boost-users] Please help! How to make g++ link to libboost_thread-mt.so instead of libboost_thread-mt.so.1.33.1
From: Ravi (lists_ravi_at_[hidden])
Date: 2009-03-27 16:28:21
On Friday 27 March 2009 09:39:37 Louis Chen wrote:
> When i try to run main in B, it fails, of course, with message: "main:
> error while loading shared library: libboost_thread-mt.so.1.33.1: can not
> open shared object file: No such file or directory."
> How can i force g++ link main to libboost_thread-mt.so in A?
You should not do this. Boost versions are not binary compatible. In
particular, boost.thread API has changed quite dramatically in the last few
releases. If, at run time, you use a different version compared to build time,
the loader will quit stating that symbols are not matched/found.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net