Re: [ROOT] dlopen error

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Mar 20 2002 - 17:38:39 MET


Just prelink libLogger.so with
libmico2.3.0
libmicocoss2.3.0
libConfig.a

.L or gSystem->Load("libLogger") will then load everything correctly in
one go.

Cheers, Fons.



On Wed, 2002-03-20 at 17:16, Hermann-Josef.Mathes@ik.fzk.de wrote:
> Dear Rooters,
> 
> I want to read a ROOT file containing some objects I have previously
> written (class Logging::LogMessage). Then I was trying to load these
> objects in an interactive session:
> 
> root [0] .L ../src/libLogger.so
> dlopen
> error: /home/mathes/SNiFF/FD-das/libHEAD/logger/daemon/./../src/libLogger.so: undefined
> symbol: exception__Q25CORBA13StaticRequest
> Load Error: Failed to load Dynamic link library
> /home/mathes/SNiFF/FD-das/libHEAD/logger/daemon/./../src/libLogger.so
> *** Interpreter error recovered ***
> 
> Now I loaded some missing libraries ...:
> root [1] .L /usr/lib/libmico2.3.0.so
> root [2] .L /usr/lib/libmicocoss2.3.0.so
> root [3] .L ../src/libLogger.so         
> dlopen error: /home/mathes/SNiFF/FD-das/libHEAD/logger/daemon/./../src/libLogger.so: undefined
> symbol: _Q26Config8FdConfig.fgFdConfig
> Load Error: Failed to load Dynamic link library
> /home/mathes/SNiFF/FD-das/libHEAD/logger/daemon/./../src/libLogger.so
> *** Interpreter error recovered ***
> 
> Well the library missing now is only existing as static version. What can
> I do now ? Prelink the libLogger.so with the static versions of the
> requested libraries ? How can I do that ?
> 
> Thanks
>   Hermann-Josef 
> 
> 
> **************************************************************************
> *                                                                        *
> *   Dr. Hermann-Josef Mathes                                             *
> *   KASCADE & AUGER Collaboration                                        *
> *   Forschungszentrum Karlsruhe                Phone: +49 7247 822429    *
> *   Institut fuer Kernphysik                   FAX:   +49 7247 824075    *
> *   POB 3640                                                             *
> *   D-76021 Karlsruhe/Germany                  Mail:  mathes@ik.fzk.de   *
> *                                                     hjmathes@web.de    *
> *                                                                        *
> *   Feel free to visit my homepage:                                      *
> *          http://www-ik3.fzk.de/~mathes/Welcome.html                    *
> **************************************************************************
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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