Re: [ROOT] MySQL error

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Mar 08 2002 - 18:31:00 MET


The problem is that on some of out distribution platforms we link
against libmysqlclient.so (which itself is linked against libz so it
will pull in libz at run time) and on some we link against
libmysqclient.a which requires also libz.a to be linked. We will fix the
./configure script to fix this problem.

Cheers, Fons.




On Fri, 2002-03-08 at 17:22, André David wrote:
> "Jacek M. Holeczek" wrote:
> > 
> > Nice that it worked ...
> > Let me again warn you.
> > Use libMySQL sources as they come with your ROOT source code distribution :
> >         root/mysql/...
> > Don't use the old tar.gz file.
> 
> Well ... running fine by now ;)
> 
> > In case my script creates the libMySQL.so which automatically loads
> > "libz.so" on demand, please let Rene & Co. know about it (they should
> > include it in the official ROOT distribution).
> 
> I'm not sure if I follow you, but it seems that you really must load
> libz before, even using the binary provided in the binary root
> distribution (which I have). Of course if they precompile it with libz,
> even better. I believe libmysqlclient.a also suffers from this!
> 
> I'm but a newbie at ROOT, but here goes nothing to the roottalk...
> 
> Andre
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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