Jim Carhart wrote: > Opening Bugzilla account and posting full details, but this is a no-go > for Solaris 8 w/gcc 3.4.6. Similar to previous 0.93 issue, i.e. > undefined symbols associated with libbz2; > > [clamav-0.93.1rc1]# ./configure --enable-milter --enable-experimental > > [clamav-0.93.1rc1]# make > > <snip> > > mkdir .libs > gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o > options.o clamscan.o others.o manager.o treewalk.o > ../libclamav/.libs/libclamav.so > /usr/local/src/clamav-0.93.1rc1/libclamunrar_iface/.libs/libclamunrar_iface.so > > /usr/local/src/clamav-0.93.1rc1/libclamunrar/.libs/libclamunrar.so > -L/usr/local/lib -lbz2 /usr/local/lib/libgmp.so > /usr/local/lib/libiconv.so -L/usr/local/BerkeleyDB.4.2/lib > -L/usr/local/ssl/lib -L/usr/openwin/lib -L/usr/lib > -L/usr/local/mysql/lib/mysql -lz -lnsl -lsocket -lpthread -R/usr/local/lib > Undefined first referenced > symbol in file > BZ2_bzDecompress ../libclamav/.libs/libclamav.so > BZ2_bzDecompressEnd ../libclamav/.libs/libclamav.so > BZ2_bzDecompressInit ../libclamav/.libs/libclamav.so > ld: fatal: Symbol referencing errors. No output written to .libs/clamscan > collect2: ld returned 1 exit status > make[2]: *** [clamscan] Error 1 > make[2]: Leaving directory `/usr/local/src/clamav-0.93.1rc1/clamscan' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/clamav-0.93.1rc1' > make: *** [all] Error 2 > > [clamav-0.93.1rc1]# locate libbz2 > /usr/lib/abi/abi_libbz2.so.1 > /usr/lib/abi/sparcv9/abi_libbz2.so.1 > /usr/lib/libbz2.so > /usr/lib/libbz2.so.1 > /usr/lib/sparcv9/libbz2.so > /usr/lib/sparcv9/libbz2.so.1 >
If you run elfdump -s on those libraries you will find that the symbols needed probably don't exist. Installing newer libraries should fix the problem. I fixed it by building libbz2 from source. dp _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html