Re: [ROOT] MySQL error

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Fri Mar 08 2002 - 18:47:17 MET


Hi Andre

On Fri, 08 Mar 2002 15:52:18 +0100
André David <Andre.David@cern.ch> wrote
concerning "[ROOT] MySQL error":
> Dear rooters,
> 
> 
> I am trying to
> 
> root [0] TSQLServer* s =
> TSQLServer::Connect("mysql://na60pc00/","root","")
> 
> but I get back
> 
> dlopen error: /usr/local/root/lib/libMySQL.so: undefined symbol:
> uncompress
> Load Error: Failed to load Dynamic link library
> /usr/local/root/lib/libMySQL.so
> *** Interpreter error recovered ***

A similar posting was on the list a few days ago (RTM).  Do

  root> gSystem->Load("libz.so") 

first.   On GNU/Linux (at least), one can use incremental linking to
load depency libraries automatically.  May ROOT should do that for
libMySQL, and similar? (Fons, Libtool does that for you in a platform
independent way :-)

Yours, 

Christian Holm Christensen -------------------------------------------
Address: Sankt Hansgade 23, 1. th.           Phone:  (+45) 35 35 96 91 
         DK-2200 Copenhagen N                Cell:   (+45) 28 82 16 23
         Denmark                             Office: (+45) 353  25 305 
Email:   cholm@nbi.dk                        Web:    www.nbi.dk/~cholm



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:45 MET