Re: [ROOT] versions on the shared libraries

From: Bruce O'Neel (bruce.oneel@obs.unige.ch)
Date: Tue May 21 2002 - 14:05:00 MEST


Thanks!  This looks as if it will exactly solve our problem.

cheers

bruce

Christian Holm Christensen writes:
 > 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
 >  | |

-- 
So many possibilities, none of which are implimented. :) - Lex Spoon

Bruce O'Neel                       phone:  +41 22 950 91 57
INTEGRAL Science Data Centre               +41 22 950 91 00 (switchb.)
Chemin d'Ecogia 16                 fax:    +41 22 950 91 35
CH-1290 VERSOIX                    e-mail: Bruce.Oneel@obs.unige.ch
Switzerland                        WWW:    http://isdc.unige.ch/



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:53 MET