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

From: Julien Bolmont (julien.bolmont@gamum2.in2p3.fr)
Date: Mon Jan 05 2004 - 14:57:55 MET


Ok, thanks.

There is something strange though.

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

is not necessary with  /afs/cern.ch/sw/root/v3.10.02/rh73_gcc296
(actually, it does not even work).

Why ?


Le 5 janv. 04, à 14:26, Rene Brun a écrit :

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