make error /usr/bin/ld: cannot find -lz
Paul Hampson
Paul.Hampson at PObox.com
Sat Jun 25 02:49:39 CEST 2005
On Fri, Jun 24, 2005 at 02:58:14PM +0600, admin at zgora.ru wrote:
> make faild with this error...
> gcc -shared sql_mysql.lo -L/usr/lib -L/usr/lib/mysql /usr/lib/libmysqlclient.so -lz -lm -lssl -lcrypto -Wl,-soname -Wl,rlm_sql_mysql-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 ?
zlib. mySQL depends on it, so I'm surprised you got
mySQL in place without it...
--
Paul "TBBle" Hampson, on an alternate email client.
More information about the Freeradius-Users
mailing list