-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Gran Sent: Monday, June 06, 2005 3:51 PM To: 'ClamAV users ML' Subject: Re: [Clamav-users] Clamav relocation R_X86_64_32S can not be usedwhenmaking a shared object; recompile with -fPIC
> 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 | | -------------------------------------------------------------------------- Sorry about the top post, I am new to this too. I did ./configure --shared for zlib-1.2.2 recompiled and then clamav compiled with no problem. Thanks so much for point me in the right direction. _______________________________________________ http://lurker.clamav.net/list/clamav-users.html