Re: Clam AV install problems On 2004-02-29, Jeff Peter <cifs445@msn.com> wrote:
> I've been attempting to install the latest build of ClamAV on 3.4,
> however, I first encountered dependency errors with gmp that prevented
> ClamAV from installing. As a result I tried to install gmp 4.1.2 however
> I'm receiving the following errors... Any thoughts on what I'm doing
> wrong?
>
> ---------------------
>
> f/.libs/vfprintf.o printf/.libs/vprintf.o printf/.libs/vsnprintf.o
> printf/.libs/vsprintf.o scanf/.libs/doscan.o scanf/.libs/fscanf.o
> scanf/.libs/fscanffuns.o scanf/.libs/scanf.o scanf/.libs/sscanf.o
> scanf/.libs/sscanffuns.o scanf/.libs/vfscanf.o scanf/.libs/vscanf.o
> scanf/.libs/vsscanf.o
> ld: mpn/.libs/dive_1.o: Unexpected relocation type for GOT symbol
> collect2: ld returned 1 exit status
> *** Error code 1
>
> Stop in /usr/ports/devel/gmp/w-gmp-4.1.2/gmp-4.1.2 (line 552 of
> Makefile).
> *** Error code 1
>
> Stop in /usr/ports/devel/gmp/w-gmp-4.1.2/gmp-4.1.2 (line 799 of
> Makefile).
> *** Error code 1
>
> Stop in /usr/ports/devel/gmp/w-gmp-4.1.2/gmp-4.1.2 (line 473 of
> Makefile).
> *** Error code 1
>
> Stop in /usr/ports/devel/gmp (line 1741 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
Hi Jeff,
ClamAV will not look for gmp in /usr/local/include.
If you already have gmp installed,
try export CFLAGS="-I/usr/local/include"
before running configure on ClamAV.
If gmp in not installed, just grab the package.
Hope this helps,
Mike |