Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2008 14:25:40 +1000
From:      "yance" <yance@sic.nsw.edu.au>
To:        <freebsd-ports@freebsd.org>
Subject:   clamav bug
Message-ID:  <000801c8dcc4$dc1b0c40$3d01a8c0@xprz12>

next in thread | raw e-mail | index | archive | help
Hi,

 

I have just update m ports collection. My FreeBSD is 6.0-RELEASE, and when I
tried to install clamav from ports collection it returned an error:

 

# make install

===>  Building for clamav-0.93.1_2

make  all-recursive

Making all in libclamunrar

Making all in libclamunrar_iface

Making all in libclamav

Making all in lzma

Making all in .

Making all in clamscan

/bin/sh /usr/local/bin/libtool --tag=CC    --mode=link cc  -O2
-fno-strict-aliasing -pipe   -L/usr/local/lib  -lthr -o clamscan output.o
getopt.o  cfgparser.o misc.o options.o  clamscan.o others.o manager.o
treewalk.o  ../libclamav/libclamav.la -lthr

cc -O2 -fno-strict-aliasing -pipe -o .libs/clamscan output.o getopt.o
cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o
-L/usr/local/lib ../libclamav/.libs/libclamav.so
/usr/ports/security/clamav/work/clamav-0.93.1/libclamunrar_iface/.libs/libcl
amunrar_iface.so
/usr/ports/security/clamav/work/clamav-0.93.1/libclamunrar/.libs/libclamunra
r.so -lbz2 /usr/local/lib/libgmp.so -lz -lthr  -Wl,--rpath
-Wl,/usr/local/lib

../libclamav/.libs/libclamav.so: undefined reference to `gethostbyname_r'

*** Error code 1

 

Stop in /usr/ports/security/clamav/work/clamav-0.93.1/clamscan.

*** Error code 1

 

Stop in /usr/ports/security/clamav/work/clamav-0.93.1.

*** Error code 1

 

Stop in /usr/ports/security/clamav/work/clamav-0.93.1.

*** Error code 1

 

Stop in /usr/ports/security/clamav.

*** Error code 1

 

Stop in /usr/ports/security/clamav.

 

 

Tried to modify Makefile into the following:

 

CONFIGURE_ARGS= --with-dbdir=${DBDIR} \

                --with-zlib=/usr \

                --without-thread \

                --disable-gethostbyname_r \

                --disable-zlib-vcheck \

                --disable-clamuko \

                --disable-clamav \

                --disable-pthread \

                --enable-bigstack \

                --enable-readdir_r \

 

Please advise.

 

 

Kind regards,

 

 

Yance




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c8dcc4$dc1b0c40$3d01a8c0>