On Sun, Oct 02, 2005 at 11:35:48AM -0500, J Moore wrote:
> I get the following errors when trying to make clamav v0.87 from the
> -stable ports tree:
> 
> server-th.o(.text+0x98a): In function `acceptloop_th':
> : undefined reference to `cl_dup'
> collect2: ld returned 1 exit status
> *** Error code 1
> 
> Stop in /usr/ports/security/clamav/w-clamav-0.87/clamav-0.87/clamd (line
> 322 of Makefile).
> *** Error code 1
> 
> Stop in /usr/ports/security/clamav/w-clamav-0.87/clamav-0.87 (line 368
> of Makefile).
> *** Error code 1
> 
> Stop in /usr/ports/security/clamav/w-clamav-0.87/clamav-0.87 (line 227
> of Makefile).
> *** Error code 1
> 
> Stop in /usr/ports/security/clamav (line 1769 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> 
> How to fix?
> 
> Thnx,
> Jay
>

Hi Jay,

It sounds like you have an older version of clamav already installed.
Your linker is bonking when its searching the older clamlibs looking
for cl_dup.  
Fix:
cd to /usr/local/lib and move your current clamav libs (libclamav.*) to a 
location
not in your linker path.  Then recompile.  


Hope this helps,
Mike

Reply via email to