> On Mon, Jun 06, 2005 at 03:09:31PM -0600, Joshua M Barneck said: > > > On Mon, Jun 06, 2005 at 02:07:30PM -0600, Joshua M Barneck said: > > > > I am trying to make install distclean from /usr/ports/security/clamav > > > > on a > > > > 64-bit Intel (EM64T) system running FreeBSD 5.4 and this is the error I > > > get. > > > Can anyone help? > > > > > > > > > /usr/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32S can > > not > > > be used when making a shared object; recompile with -fPIC > > > > libz.a is compiled as a static object - it needs to be compiled with > > -fPIC (as a shared library). > > I am kind of new at this. How would I do that exactly?
Please don't top post - it makes it much harder to follow the thread. There is a ./configure option to make the compilation produce shared libraries. ./configure --help in combination with google is you friend here. I am speaking here of the source for zlib, not clam. -- -------------------------------------------------------------------------- | Stephen Gran | All my friends and I are crazy. That's | | [EMAIL PROTECTED] | the only thing that keeps us sane. | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
pgpfEc2ITaCaG.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
