Re: [ROOT] Root 2.25/03 and MySQL interface problem

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Sep 25 2000 - 09:50:24 MEST


Hi Janusz,

   what version of MySQL are you using? In my version (3.22.27) there
is no call to uncompress. Also in ROOT itself we don't call such a routine.
It might be that a newer version of MySQL uses such a routine and requires
linking with an additional library. Could you try and find out?

Cheers, Fons.


On Thu, Sep 21, 2000 at 10:56:48AM +0200, Janusz Martyniak wrote:
> 
>  Dear All,
> 
> I have to use gcc 2.95-2 compiler on x86 Linux. Since Root is not
> available as a binary for this compiler and Redhat 6.2 I downoaded the
> source.
> 
> Configure: 
> 
> ./configure linuxegcs --prefix=/usr/local/root 
> --with-xpm=/usr/X11R6/lib 
> --with-ttf-incdir=/home/martynia/ttf/include
> --with-ttf-libdir=/home/martynia/ttf/lib 
> --with-ttf-fontdir=/home/martynia/ttf/fonts
> --with-opengl-incdir=/usr/X11R6/include 
> --with-opengl-libdir=/usr/X11R6/lib
> --with-mysql-incdir=/usr/include/mysql 
> --with-mysql-libdir=/usr/lib/mysql
> 
> As you see I configure for an egcs platform, but can't see another choice.
> 
>  Root compiles, links  and test programs run.
> 
> But if I try to do:
> 
> root [0] .x select.C 
> 
> ( this is a macro (from MySQL.tar) to read the test run catalog, works
> fine for my proper redhat 6.2/egcs binary instalation)
> 
>  I get:
> 
> dlopen error: /usr/local/root/lib/root/libMySQL.so: undefined symbol:
> uncompress
> Load Error: Dynamic link library /usr/local/root/lib/root/libMySQL.so can
> not load
> 
>  What is missing here? Is it at all possible to use Root with the gcc
> 2.95-2 / redhat 6.2 combination ?
> 
>       cheers,
> 
>                 Janusz Martyniak
> 

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



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:33 MET