Boost logo

Boost Users :

Subject: Re: [Boost-users] Please help! How to make g++ link to instead of
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: can not
> open shared object file: No such file or directory."
> How can i force g++ link main to 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, kalb at, bjorn.karlsson at, gregod at, wekempf at