Been struggling with configure complaining that it can't find -lz (and later 
not figuring out how to make a shared library correctly.)

Turns out there's two spots in configure that use "-Wl,-rpath=$ZLIB_HOME/lib", 
ignoring that configure had determined that ld is not gnu.

In the previous versions this was -L$ZLIB_HOME/lib

While the correct form would be "-Wl,-R$ZLIB_HOME/lib" this doesn't on its own 
make clamav build on, as the library it needs is in $ZLIB_HOME/lib/amd64 
(building 64-bit on Solaris x64)  Which I've been doing by setting LDFLAGS in 
my build environment.

-- 
Who: Lawrence K. Chen, P.Eng. - W0LKC - Senior Unix Systems Administrator
For: Enterprise Server Technologies (EST) -- & SafeZone Ally
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to