Path: news.net.uni-c.dk!uninett.no!Norway.EU.net!newsfeed1.ulv.nextra.no!nextra.com!news.tele.dk!small.news.tele.dk!newsfeed101.telia.com!nf02.dk.telia.net!news104.dk.telia.net!not-for-mail From: Mirco Drick Subject: cannot link to mysqlclient under linux Date: Sun, 23 Jun 2002 18:37:37 +0200 Newsgroups: comp.lang.beta Message-ID: User-Agent: Pan/0.11.94 (We pass through this world but once) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: ALL Lines: 21 NNTP-Posting-Host: 212.10.123.21 X-Trace: 1024850139 news.stofanet.dk 666 212.10.123.21 X-Complaints-To: Telia Stofa Abuse Xref: news.net.uni-c.dk comp.lang.beta:13258 hi i have a program in which i make use of mysql. I have copied all libmysqlclient.* from my libmysql-devel dir to $BETALIB/lib/linux. when compiling under linux (Mandrake 8.2) with MySQL 3.23.47 i get the fellowing error during linking: Linking /usr/local/beta/lib/linux/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0xaa): undefined reference to `uncompress' /usr/local/beta/lib/linux/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x13d): undefined reference to `compress' when linking against an sgi mysql server (with $BETALIB/lib/sgi/libmysqlclient.so) it links and works without problem. any help appreciated. regards Mirco Drick