Boost logo

Boost-Build :

Subject: Re: [Boost-build] OSX linker question
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2009-08-30 10:34:33


On Aug 30, 2009, at 4:05 AM, Vladimir Prus wrote:

> 1. What option(s) should I use to avoid the above error at link time?
> 2. What options should I use to make 'main' find both liba and libb at
> runtime, without explicit setting of DYLD_LIBRARY_PATH?
  Not completely sure but if the libraries have the correct
"install_name" embeded in them then there shouldn't be a need for any
extra library paths. But I see from your link command that you are
explicitly setting the "install_name" to just the name of the library:

-install_name "libb.dylib"

  So you will probably have to figure out how to store the path where
libb was compiled into.

Mike Jackson


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