Re: [ROOT] libMySQL.so on afs ROOT v3.10.02 + gcc 3.2

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jan 05 2004 - 14:26:40 MET


Hi Julien,

You must load the mysql library before loading the ROOT interface, eg:

gSystem->Load("/afs/cern.ch/sw/lcg/external/mysql/4.0.13/rh73_gcc32/lib/libmysqlclient")
gSystem->Load("libMySQL")


Rene Brun

Julien Bolmont wrote:
> 
> Hi Rooters and happy new year !
> 
> I'm trying to use root on afs with
> /afs/cern.ch/sw/root/v3.10.02/rh73_gcc32/
> 
> The library "libMySQL.so" seems to have a problem. When I try to use it
> in a root session, the following happens :
> 
> root [1] gSystem->Load("libMySQL.so");
> dlopen error:
> /afs/cern.ch/sw/root/v3.10.02/rh73_gcc32/root/lib/libMySQL.so:
> undefined symbol: SSL_new
> Load Error: Failed to load Dynamic link library
> /afs/cern.ch/sw/root/v3.10.02/rh73_gcc32/root/lib/libMySQL.so
> *** Interpreter error recovered ***
> 
> Other libraries seem to work well.
> 
> Any ideas ?
> 
> Thanks a lot,
> Julien
> 
> ------------------------------------------------------
> Julien Bolmont
> Ingénieur diplômé - doctorant
> Groupe d'Astroparticules de Montpellier



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET