[Mod_log_sql] mod_log_sql will not configure on Solaris 8

Edward Rudd urkle at outoforder.cc
Wed Sep 15 18:34:10 EST 2004


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 at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_log_sql/attachments/20040915/31ebe8d1/attachment.bin 


More information about the Mod_log_sql mailing list