[ROOT] MySQL error

From: André David (Andre.David@cern.ch)
Date: Fri Mar 08 2002 - 15:52:18 MET


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

After the first time I got the MySQL.tar.gz from the ROOT site. Then I
managed to compile it by changing some MySQL paths. After copying the
new libMySQL.so to ROOT's lib path, I still get the same error.

I have noticed that 'uncompress' is a defined in libmysqlclient.a, which
is properly linked in the compilation of libMySQL.so.

So, after compiling with no errors I'm clueless. Any light out there?

TIA,

Andre

ps - My bottom line with TSQLServer is to understand if I can put a
TObject (TTree or TH*) directly in a BLOB field of the DB. Any
experience/answer/hint to this end is very welcome.




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