Re: ROOT 4.04/02 & MySQL at CERN

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Sat, 21 May 2005 00:38:33 +0200


Hi Julien,

  the first load statement loads libmysqlclient.so and not libmysqlclient_r.so.12. Do ldd libMySQL.so to see if the needed mysqlclient lib is found. If not adjust the LD_LIBRARY_PATH to include it.

Cheers, Fons.

Julien Bolmont wrote:
>
> Hi,
>
> I try to use MySQL with ROOT 4.04/02 on lxplus (with /afs/cern.ch/sw/
> root/v4.04.02/slc3_gcc3.2.3/root)
>
> I use
>
> gSystem->Load("/afs/cern.ch/sw/lcg/external/mysql/4.0.13/slc3_gcc323/
> lib/libmysqlclient");
> gSystem->Load("libMySQL");
>
> but I get the following error:
>
> dlopen error: libmysqlclient_r.so.12: cannot open shared object file:
> No such file or directory
> Load Error: Failed to load Dynamic link library /afs/cern.ch/sw/root/
> v4.04.02/slc3_gcc3.2.3/root/lib/libMySQL.so
>
>
> However, libmysqlclient_r.so.12 is in /afs/cern.ch/sw/lcg/external/
> mysql/4.0.13/slc3_gcc323/lib/ so what happen ?
>
> Thanks for your help...
>
> Cheers,
> Julien

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Sat May 21 2005 - 00:38:46 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET