Re: MySQL problem

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Fri Nov 16 2001 - 09:49:38 EST

  • Next message: Flemming Videbaek: "where is root?"

    Hi Bjorn, 
    
    On Fri, 16 Nov 2001 00:43:51 -0500 (EST)
    Bjorn H Samset <bjornhs@rcf2.rhic.bnl.gov> wrote
    concerning "MySQL problem":
    > 
    > Ho... Since brat is now uncompilible without libMySQL from root, I'm
    > trying to add mysql to the machines in Oslo. I've gotten hold of the
    > newest binary version and installed (or rather unpacked, as that was all
    > that was necesseary to get the libs), and then compiled root with
    > mysql-support. However, when I compile brat I get
    > 
    > /mn/fireball/data/brahms/software/root/root/install/lib/root/libMySQL.so:
    > undefined reference to `uncompress'
    > /mn/fireball/data/brahms/software/root/root/install/lib/root/libMySQL.so:
    > undefined reference to `compress'
    > collect2: ld returned 1 exit status
    > 
    > under db/apps, db/test and modules/test at least (anywhere where -lMySQL
    > is added, I guess...)
    > 
    > Does anyone know how I can fix this? Oh, and:
    > 
    > fireball(16) /mn/fireball/data/brahms/software/brat2/brat>mysql --help
    > mysql  Ver 11.15 Distrib 3.23.40, for pc-linux-gnu (i686)
    
    Thanks for that info.  Important to know this to really help you.  
    
    I think you need to link against libmysqlclient too, since it's
    probably not linked into ROOT's libMySQL. 
    
    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 2b30 : Fri Nov 16 2001 - 09:50:24 EST