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

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Jan 05 2004 - 15:57:59 MET


Hi Julien,

  best is to rebuild ROOT for your platform with your version of MySQL.
The issue here is clearly that the libmysqlclient used to build libMySQL
depends on other libs that are not available or compatible with your
system (e.g. looks like you use mysql 4 while we mostly build with mysql
3).

Cheers, Fons.



On Mon, 2004-01-05 at 14:57, Julien Bolmont wrote:
> 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
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



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