Hi Benoit,
You have two cases of libraries inter-dependencies
1- hierarchical dependencies. In this case, you load first
the low level libraries. For example, in the case of Pythia
gSystem->Load("libPythia"); //the fortran library for Pythia
gSystem->Load("libEG"); //the low level ROOT interface to generators
gSystem->Liad("libEGPythia"); // the C++ interface to Pythia via libEG
2- graph dependencies. In this case, you have a design problem.
You have to put all your libs in one single lib or restructure
your classes such that you end up in case 1 above.
Rene Brun
On Mon, 21 Oct 2002, Benoit Revenu wrote:
> Dear all,
>
> I have a bunch of 5 libraries that I want to use in interactive ROOT. None
> of these librairies is completely independent of the others and when I try
> to load them in ROOT, I obtain things like
>
> dlopen error: lib1.so : undefined symbol: function_of_lib2
> Load Error: Failed to load Dynamic link library
> ~/lib1.so
> *** Interpreter error recovered ***
>
> How can I load all my librairies together in ROOT ?
>
> Benoît Revenu
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:15 MET