Re: [ROOT] MySQL

From: Yves SCHUTZ (schutz@in2p3.fr)
Date: Wed Mar 21 2001 - 16:08:54 MET


Yves,

You dumm-head, you forgot to add the mysql path to
LD_LIBRARY_PATH

Yves

Yves SCHUTZ wrote:
> 
> Hi,
> 
> When loading libMySQL.so my installation
> root3.00/06 does not find libmysqlclient.so.10.
> 
> root [0] gSystem->Load("libMySQL.so")
> dlopen error: libmysqlclient.so.10: cannot open
> shared object file: No such file or directory
> Load Error: Failed to load Dynamic link library
> /afs/in2p3.fr/throng/alice/throng2/commun/root/new/lib/libMySQL.so
> (int)(-1)
> *** Interpreter error recovered ***
> root [1]
> 
> The configure said :
> 
> Checking for mysql.h ... /usr/local/include/mysql
> Checking for libmysqlclient ...
> /usr/local/lib/mysql
> 
> What did I forget ?
> 
> Thanks ... Yves
> --
> Yves SCHUTZ  (IN2P3 - CNRS) collaboration
> TAPS/WA98/PHENIX/ALICE
> SUBATECH
> Ecole des Mines de Nantes Telephone: (+33/0) 2 51
> 85 84 71
> 4, rue Alfred Kastler     Fax      : (+33/0) 2 51
> 85 84 79
> F-44070 Nantes cedex 03   e-mail   :
> yves.schutz@subatech.in2p3.fr

-- 
Yves SCHUTZ  (IN2P3 - CNRS) collaboration
TAPS/WA98/PHENIX/ALICE   
SUBATECH                                                          
Ecole des Mines de Nantes Telephone: (+33/0) 2 51
85 84 71         
4, rue Alfred Kastler     Fax      : (+33/0) 2 51
85 84 79        
F-44070 Nantes cedex 03   e-mail   :
yves.schutz@subatech.in2p3.fr



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:40 MET