Subject: Re: Unsupported relocation type 10 in non-PLT relocations
To: None <tech-pkg@netbsd.org>
From: ian <techpkg@minimal.cx>
List: tech-pkg
Date: 06/29/2005 13:24:51
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