Solaris9 Configure Issue (1.1.0)

Chris Parker cparker at starnetusa.net
Thu Mar 9 23:23:33 CET 2006


In src/modules/rlm_sql/drivers/rlm_sql_mysql/config.log

It's not detecting properly that Solaris9 also needs "-lm -lz" ( math  
and compression
functions ) to link with the MySQL libs:

...
configure:971: checking for mysql_init in -lmysqlclient_r
configure:988: gcc -o conftest -m64 -D_REENTRANT - 
D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall
-D_GNU_SOURCE -DNDEBUG   conftest.c -L/usr/local/mysql/lib - 
lmysqlclient_r -lpthread -lnsl -lresolv
-lsocket -lposix4  -lpthread 1>&5
Undefined                       first referenced
symbol                             in file
floor                               /usr/local/mysql/lib/ 
libmysqlclient_r.a(libmysql.o)
uncompress                          /usr/local/mysql/lib/ 
libmysqlclient_r.a(my_compress.o)
compress                            /usr/local/mysql/lib/ 
libmysqlclient_r.a(my_compress.o)

Is this fixed in HEAD/1.1.1?

-Chris
--
Chris Parker
Director, Engineering
StarNet A Service of US LEC

(888)212-0099   Fax (847)963-1302
Wholesale Internet Services     http://www.megapop.net
VoiceEclipse, The Fresh Alternative http://www.voiceeclipse.com

NOTICE: Message is sent IN CONFIDENCE to addressees. It may contain
information that is privileged, proprietary or confidential.




More information about the Freeradius-Devel mailing list