I apologize for posting an earlier question about a binary to a list that doesn't supply one.

I am trying to build freeradius (latest) against Mysql supplied binaries for version 4.1.8. I have installed MySQL-client-4.1.8-0.i386.rpm, MySQL-devel-4.1.8-0.i386.rpm, and MySQL-shared-4.1.8-0.i386.rpm. The last one just in case.

The configure is fine but the make fails on mysql with this:
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
gmake[10]: *** [rlm_sql_mysql.la] Error 1
gmake[10]: Leaving directory `/root/freeradius-1.0.1/src/modules/rlm_sql/drivers/rlm_sql_mysql'
gmake[9]: *** [common] Error 1
gmake[9]: Leaving directory `/root/freeradius-1.0.1/src/modules/rlm_sql/drivers'
gmake[8]: *** [dynamic] Error 2
gmake[8]: Leaving directory `/root/freeradius-1.0.1/src/modules/rlm_sql/drivers'
gmake[7]: *** [common] Error 1
gmake[7]: Leaving directory `/root/freeradius-1.0.1/src/modules/rlm_sql'
gmake[6]: *** [dynamic] Error 2
gmake[6]: Leaving directory `/root/freeradius-1.0.1/src/modules/rlm_sql'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory `/root/freeradius-1.0.1/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/root/freeradius-1.0.1/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/root/freeradius-1.0.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/freeradius-1.0.1/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/root/freeradius-1.0.1'
make: *** [all] Error 2


And I also notice this entry earlier that might have something to do with it:
In file included from /usr/include/mysql/mysql.h:57,
from sql_mysql.c:40:
/usr/include/mysql/mysql_com.h:261:5: warning: "MYSQL_VERSION_ID" is not defined
In file included from sql_mysql.c:40:


Then a bunch of errors concerning the sql_mysql.c file are mentioned like the following:
sql_mysql.c: In function `sql_destroy_socket':
sql_mysql.c:103: warning: unused parameter `config'


Has anybody else tried to compile freeradius against 4.1.8 and if so, how did that go?
--
Lewis Bergman
Texas Communications
4309 Maple St.
Abilene, TX 79602-8044
325-691-3301
800-299-6962


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to