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 <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/
/_/ /_/\_, /___/\___\_\___/ Provo, Utah, USA
<___/
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php