[ROOT] versions on the shared libraries

From: Bruce O'Neel (bruce.oneel@obs.unige.ch)
Date: Fri May 17 2002 - 16:08:20 MEST


Hi,

We have a bit of a problem with root and shared libraries.  We
keep more than one version of root available to users and most of
those users run programs that are in fact compiled and linked against
those libraries rather than running root directly.  We keep root
separately from our system though since root is an exterernal package
and not a part of our system.

The problem that arises then is that programs linked against one
version of root rarely run correctly and most often crash when run
against another version.  This, of course, makes sense, especially
when the version in the LD_LIBRARY_PATH is older than the version you
compiled with.

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.

Thanks very much!

cheers

bruce

-- 
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