make error /usr/bin/ld: cannot find -lz

admin at zgora.ru admin at zgora.ru
Sat Jun 25 09:07:43 CEST 2005


[root at gate root]# rpm -qa | grep zlib
zlib1-1.2.1.1-3mdk

zlib installed, any ideas?

r> Install zlib library for your system.

>>make faild with this error...
>>
>>gcc -shared sql_mysql.lo -L/usr/lib -L/usr/lib/mysql
r> /usr/lib/libmysqlclient.so -lz -lm -lssl -lcrypto -Wl,-soname -Wl,rlm_sql_my
sql-1.0.1.so -?>>o .libs/rlm_sql_mysql-1.0.1.so
>>/usr/bin/ld: cannot find -lz
>>collect2: ld returned 1 exit status
>>gmake[10]: *** [rlm_sql_mysql.la] Error 1
>>
>>What is -lz ?






More information about the Freeradius-Users mailing list