updating clamav-0.65 - undefined reference

Troy troy at twisted.net
Thu Dec 4 04:41:57 PST 2003


just was trying to upgrade clamav and received the following errors.
Any ideas?

-Troy



amav/.libs/libclamav.so -lcipher -lz -lbz2 -lgmp -lc_r -Wl,--rpath
-Wl,/usr/local/lib
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider
using mkstemp()
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider
using mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not
recommended.
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider
using mkstemp()
/usr/ports/security/clamav/work/clamav-0.65/libclamav/.libs/libclamav.so:
undefined reference to `__gmpz_clear'
/usr/ports/security/clamav/work/clamav-0.65/libclamav/.libs/libclamav.so:
undefined reference to `__gmpz_mul_2exp'
/usr/ports/security/clamav/work/clamav-0.65/libclamav/.libs/libclamav.so:
undefined reference to `__gmpz_set_ui'
/usr/ports/security/clamav/work/clamav-0.65/libclamav/.libs/libclamav.so:
undefined reference to `__gmpz_powm'
/usr/ports/security/clamav/work/clamav-0.65/libclamav/.libs/libclamav.so:
undefined reference to `__gmpz_init'
/usr/ports/security/clamav/work/clamav-0.65/libclamav/.libs/libclamav.so:
undefined reference to `__gmpz_tdiv_qr_ui'
/usr/ports/security/clamav/work/clamav-0.65/libclamav/.libs/libclamav.so:
undefined reference to `__gmpz_add'
/usr/ports/security/clamav/work/clamav-0.65/libclamav/.libs/libclamav.so:
undefined reference to `__gmpz_init_set_str'
gmake[1]: *** [clamscan] Error 1
gmake[1]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.65/clamscan'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/security/clamav.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade31639.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped /
!:failed)
        ! security/clamav (clamav-0.65) (linker error)


More information about the freebsd-ports mailing list