MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:July 9 2001 9:02pm
Subject:Re: Testing MySQL 4.0
View as plain text  
On Monday 09 July 2001 10:51, Tibor Simko wrote:
> Hello
> 
> On Tue, 19 Jun 2001, Sasha Pachev wrote:
> 
> > If you have a spare development system, plug in 4.0 binary and try
> > to run your applications on it to see if it will crash. 
> 
> I just tried it on Debian GNU/Linux for i386 with up-to-date "testing"
> distro and up-to-date "bk clone".  The compile process fails on
> "client/insert_test":
> 
> ,---- [ excerpt from make's output ]
> | /bin/sh ../libtool --mode=link gcc  -O3 -DDBUG_OFF   -rdynamic -o 
insert_test  insert_test.o ../libmysql/libmysqlclient.la  -lz -lcrypt -lnsl 
-lm
> | gcc -O3 -DDBUG_OFF -rdynamic -o .libs/insert_test insert_test.o 
../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lnsl -lm -lz -lcrypt -lnsl 
-lm -Wl,--rpath -Wl,/usr/local/mysql4/lib/mysql
> | insert_test.o: In function `main':
> | insert_test.o(.text+0x40): undefined reference to `mysql_connect'
> | collect2: ld returned 1 exit status
> `----
> 
> Indeed, mysql_connect does not seem to exist in libmysqlclient:
> 
> ,---- [ nm ../libmysql/.libs/libmysqlclient.so | grep connect ]
> | 00005e40 t connect2
> |          U connect@@GLIBC_2.0
> | 00007758 T mysql_real_connect
> | 00008404 t mysql_reconnect
> `----
>    
> Anyhow, if I go on with make in spite of this, the resulting mysqld,
> mysql and friends seem to be running just fine. :-)

We will have this fixed shortly... It should be using mysql_real_connect() 
instead.


-- 
MySQL Development Team
For technical support contracts, visit https://order.mysql.com/
   __  ___     ___ ____  __ 
  /  |/  /_ __/ __/ __ \/ /   Sasha Pachev <sasha@stripped>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\___/  Provo, Utah, USA
       <___/                  
Thread
Testing MySQL 4.0Sasha Pachev20 Jun
  • Re: Testing MySQL 4.0Russell E Glaue20 Jun
    • Re: Testing MySQL 4.0Sasha Pachev20 Jun
      • Re: Testing MySQL 4.0Michael Widenius20 Jun
        • Re: Testing MySQL 4.0Russell E Glaue20 Jun
        • Re: Testing MySQL 4.0Sasha Pachev20 Jun
    • Problems in OPTIMIZE TABLE xxx...Milan Kajnar20 Jun
    • Re: Problems in OPTIMIZE TABLE xxx...Sinisa Milivojevic20 Jun
    • Re: Problems in OPTIMIZE TABLE xxx...Paul Cadach20 Jun
  • Re: Testing MySQL 4.0Tibor Simko9 Jul
    • Re: Testing MySQL 4.0Sasha Pachev9 Jul