Hi guys,
Iam a new user to midgard.
I got this error when compiling migard-lib.
I have installed apache-1.3.14 with mod-so support
and mysql rpms namely (MySQL-3.23.25 server,client,shared and devel rpms).

but when i configure midgard-lib it says library mysqlclient not found.

config.log shows me this.
--------

configure:1953: gcc -o conftest -g -O2  -I/usr/include/mysql  -L/usr/lib/mysql c
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x12b): undefined reference to `compress'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1942 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_connect();

int main() {
mysql_connect();
return 0;
}
------------------------

I even tried configuring with these options --with-mysql=/usr and
--with-mysql=/usr/lib/mysql but it gives me the same error.

All the mysql libraries are in standard locations and i was able to
configure php with --with-mysql client option.

This is really confusing me.....Please help me.

Thanks in advance

regards
dushy

-- 
Dushyanth Harinath

Archean Infotech Limited
http://www.archeanit.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to