vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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). |
| |||
| 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 |
| |||
| MH <procana@no_spam.insight.rr.com> wrote in message news:<slrnc4493u.tnj.procana@puffy.insight.rr.com> ... > 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 CFLAGS didn't work. I'm still receiving the same errors. Could it be the gmp version? |
| |||
| In article <Xns949E96EA3Dcifs445msncom@216.196.97.132>, Jeff Peter 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? Use Google or a mailing list archiver to find the port. |
| ||||
| On 2004-03-01, cifs445 <cifs445@msn.com> wrote: > > CFLAGS didn't work. I'm still receiving the same errors. Could it be > the gmp version? Hey Jeff, Try adding export LDFLAGS="-L/usr/local/lib -lpthread" to your CFLAGS export. Also, download the gmp package from OpenBSD's site. FYI my config arguments for clamav .67: export LDFLAGS="-L/usr/local/lib -lpthread" export CFLAGS="-I/usr/local/include" ../configure --disable-clamav \ --enable-dependency-tracking \ --disable-clamuko \ --enable-bigstack \ --sysconfdir=/etc \ --with-user=_clamd \ --with-group=_clamd \ --disable-cr This worked straight away on 3.4. Good Luck, Mike |