|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-06-28 08:09:11
On Saturday 28 June 2008 15:13:27 Andrej van der Zee wrote:
> > I don't think this is right appraoch -- does your
> > AIX has working support
> > for specifying sonames for shared libraries?
> >
>
> I think we are talking about the same thing. Unless I
> misunderstood you, the linker option -bnoipath is the
> same as -soname on Linux (I thought it was default).
> This comes from the following IBM documentation:
> http://download.boulder.ibm.com/ibmdl/pub/software/dw/aix/es-aix_ll.pdf
[Please reply to list]
>
> <START QUOTE>
> -bipath/-bnoipath:
> This option is used to save/discard the full path
> name of the specific shared object on
> the command line. The full path is saved in the
> loader section of the module. The -
> bipath option is the default. If -bnoipath is
> used, then only the base names will be
> saved in the output files loader section. For
> example:
> xlc -o main main.o dir/mylib.so
> /usr/lib/otherlib.a
> This will cause the fully specified path to be
> saved for mylib.so and otherlib.a. At
> load-time the loader will always use these paths
> to find the shared objects. If the -
> bnoipath option was specified, only the base names
> would have been saved in the
> loader section, even if the libraries are
> specified with a full path.
The solib is different -- it's the name included in the *shared library*. If
a shared library, on Linux, has soname inside it, then it does not matter
what path is used to refer to is -- just the soname will be used.
Is there something like that on AIX?
- Volodya
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