Subject: Re: Unsupported relocation type 10 in non-PLT relocations
To: ian <techpkg@minimal.cx>
From: Bruce O'Neel <edoneel@sdf.lonestar.org>
List: tech-pkg
Date: 06/29/2005 13:06:44
Sadly it's likely some dependency that clamav needs.

You can try 

setenv LD_DEBUG 1

and see if this gives you more information.  On my system it doesn't but the
man says that this is verbose only if ld.so was built with debugging...

cheers

bruce

On Wed, Jun 29, 2005 at 01:24:51PM +0100, ian wrote:
> 
> On 29 Jun, 2005, at 12:42, Bruce O'Neel wrote:
> 
> >Hi,
> >
> Hello Bruce,
> 
> >The problem is that when libclamav.so was built .o files were put  
> >in that
> >were not built -FPIC.
> >
> Ok.
> 
> >You could try rebuilding ClamAV making sure that -fpic is specified.
> >Maybe the simpliest (though probably wrong :) would be
> >
> >setenv CC "cc -fpic"
> >
> Right, I tried the following:
> 
>  pkg-delete clamav
>  export CC="cc -fpic"
>  make clean
>  make install
> 
> Then running freshclam gives me the same error as before :(  I'll  
> take a more detailed look at trying to override the CC flags and see  
> what I can come up with.
> 
> TTFN,
> -- 
> Ian Spray
> GPG Fingerprint: D170 35A3 C858 6E85 9B5B  1557 4CD5 6F6F E176 2D0A
> 

-- 
edoneel@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org