compile error "can't find library ../zlib/libz.la"

Qin Zhen qin.zhen at pacific.net.sg
Wed Jan 11 09:09:48 CET 2006


Hi All,
I tried to compile freeradius-1.0.5 on Debian and got following compilation error:

-I/usr/local/mysql/include/mysql -I/usr/local/src/freeradius-1.0.5/libltdl -o rlm_sql_mysql.la -rpath /usr/local/radius5/lib sql_mysql.lo -L/usr/local/mysql/lib/mysql -lmysqlclient -lcrypt -lnsl -lm ../zlib/libz.la
libtool: link: cannot find the library '../zlib/libz.la'


i felt it pretty weired since i have successfully compiled freeradius-1.0.5 on a couple of Debian servers and never encountered such error.and i cannot tell what's the difference between those servers and this problematic one. is there anyth to do with environment variables?

my $PATH is 
/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/usr/X11/bin:/usr/games:/sbin:/usr/sbin:/opt/gnome/bin:/opt/www/htdig/bin:
opt/kde/bin:/usr/share/texmf/bin:/usr/openwin/bin:/usr/local/java/bin:/usr/local/samba/bin:/usr/local/mysql/bin:/usr/local/mysql
/libexec:/usr/local/radius/bin:/usr/local/etc:/usr/local/snips/bin:/usr/local/java/bin


any advice? thanks in advance. 


Rgds
QZ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060111/98299a66/attachment.html>


More information about the Freeradius-Users mailing list