Boost logo

Boost-Build :

Subject: [Boost-build] linking to prebuilt 3rd party libraries
From: Hazel John (hazeljjohn_at_[hidden])
Date: 2011-03-30 14:45:58


Hi,
  Our current configuration on our production linux boxes is that we use a
predefined library location and copy all the libraries we have built to that
directory and our executable use that location. In our build box we install
our libraries to the same predefined location. My problem occurs when we
have 3rd party libraries that we need some of our applications to link to. I
created the following jamfile and this copies over the 3rd party library
correctly. The problem through is that when I try to run the application it
tries to find the library in the original 3rd party location, which defeats
the whole purpose.

# jamfile to copy 3rd party libraries
lib libXYZ
        : #Sources
        : <file>./3rdpartylibrarypath/libXYZ.so
        ;

install dist
        : libXYZ
        : <location>/ourlibpath

any suggestions?

Thank you,
Hazel
        ;



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk