Boost logo

Boost Users :

Subject: Re: [Boost-users] boost libs can't find each other in non-standard location
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2016-08-31 17:56:56


Le 31/08/2016 à 04:16, Hugh Caley a écrit :
>
> I'm having problems getting my boost libs to find each other on
> certain platforms. We're distributing the boost libs in a
> non-standard location. I created a runtime path in my apps that finds
> the boost libs fine, per ldd, but when a boost lib is dynamically
> liked to another boost lib in the same location it can't find it. For
> instance, libboost_thread needs libboost_atomic, and can't find it,
> even though it's in the same dir. On Linux, MacOSX and AIX, they can
> find each other. On Solaris and HP-UX, though, they can't.
>
> Boost version is 1_59. Strangely, we had this working with a previous
> version of our software on Solaris linked with Boost 1_55. I don't
> see the difference.
>
> I tried setting a runtime path of '.' in the boost libs themselves,
> but it ends up being '.' wherever I am, NOT where the lib is.
>
>
>
Hi,

giving the failing command line should help others to see what is wrong.

Best,
Vicente


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