Subject: Re: [Boost-build] specifying libraries on the link line, was "incorrect library names embedded on hp-ux ia64"
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-06-11 13:30:09
On Thursday 11 June 2009 Jim Gallagher wrote:
> OK, I have learned more over at the HP IT Resource Center. On hp-ux, a
> dependent shared lib supplied to the linker by a path will have the
> supplied path embedded as the dependent library name
> This would appear to be a good thing only if you are linking against
> libraries that are in their final installed location and you supply
> the full path. Do other unix variants work the same?
Usual unix variants have a special option to make a shared library
contain 'soname'. If a executable is linking to a shared library,
it will reference it via 'soname', not the name specified on the link
line. Can you figure of HPUX has something like that>
> So, how can I make boost-build tell the linker about dependent libs
> the normal unix way, using -L<search dir> -l<lib name>?
It's not possible now. I can change to do it this way, but please check
if some soname equivalent is available.
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