16 Sep 2004 01:34
Re: mod_log_sql will not configure on Solaris 8
On Wed, 2004-09-15 at 13:08, Steven K.Wieda wrote: > Greetings. > > checking for mysql_init in -lmysqlclient... no > configure: error: libmysqlclient is needed for MySQL support > > The pertinent portion of the config.log file is as follows: > > configure:2780: gcc -o conftest -g -O2 -I/opt/mysql/include > -I/opt/mysql/include/mysql -I/opt/mysql/mysql/include -L/opt/mysql/lib -L/opt > /mysql/lib/mysql -L/opt/mysql/mysql/lib conftest.c -lmysqlclient -lz -lm >&5 > Undefined first referenced > symbol in file > getservbyname /opt/mysql/lib/libmysqlclient.a(libmysql.o) > gethostbyname_r /opt/mysql/lib/libmysqlclient.a(libmysql.o) > socket /opt/mysql/lib/libmysqlclient.a(libmysql.o) > setsockopt /opt/mysql/lib/libmysqlclient.a(viosocket.o) > connect /opt/mysql/lib/libmysqlclient.a(libmysql.o) > getpeername /opt/mysql/lib/libmysqlclient.a(viosocket.o) > inet_addr /opt/mysql/lib/libmysqlclient.a(libmysql.o) > inet_ntoa /opt/mysql/lib/libmysqlclient.a(my_net.o) > shutdown /opt/mysql/lib/libmysqlclient.a(viosocket.o) > ld: fatal: Symbol referencing errors. No output written to conftest > collect2: ld returned 1 exit status > configure:2783: $? = 1 > ******************************** Those symbols are defined in librt I believe in solaris and not in the standard libc as they are on other *nix systems. Could you attach the entire config.log file? You can try export LDFLAGS=-lrt and try rerunning ./configure and see if it fixes the problem. Once I look at your full config.log I can work in a fix for the next release. -- -- Edward Rudd <urkle@...> Website http://www.outoforder.cc/
_______________________________________________ Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/ To unsubscribe send an e-mail to mod_log_sql-unsubscribe@...
RSS Feed