Hi Bruce,
On Fri, 17 May 2002 16:08:20 +0200 (MEST)
"Bruce O'Neel" <bruce.oneel@obs.unige.ch> wrote
concerning "[ROOT] versions on the shared libraries":
> Hi,
>
> I wonder though if it would be possible for the root shared libraries
> to have encoded in their names the version numbers? This way if your
> LD_LIBRARY_PATH was set to a root different than what the program was
> linked with you would get a startup failure, rather than some random
> failure somewhere else in your code.
That is indeed possible. Use the option `--enable-soversion ' to the
configure script. It will cause the libraries to be build in
lib<LibName>.so.<major>.<minor>
with symlinks
lib<LibName>.so.<major>
lib<LibName>.so
and so name
lib<LibName>.so.<major>
Perhaps the <minor> version number should also be in the soname, as as
that's really the one that marks binary incompatiblity.
Yours,
____ | Christian Holm Christensen
|_| | -------------------------------------------------------------
| | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91
_| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91
_| Denmark Office: (+45) 353 25 305
____| Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
| |
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:53 MET