All In a newer version 0.93.1RC1 still the same, Any one help is great for me.
Here is the message up on running "make" 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 /export/home/mg2/clamav-0.93.1rc1/libclamunrar_iface/.libs/libclamunrar_iface.so /export/home/mg2/clamav-0.93.1rc1/libclamunrar/.libs/libclamunrar.so -lbz2 -L/usr/local/lib /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 *** Error code 1 make: Fatal error: Command failed for target `clamscan' Current working directory /export/home/mg2/clamav-0.93.1rc1/clamscan *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/mg2/clamav-0.93.1rc1 *** Error code 1 make: Fatal error: Command failed for target `all' ----- Original Message ----- From: "Török Edwin" <[EMAIL PROTECTED]> To: "ClamAV users ML" <clamav-users@lists.clamav.net> Sent: Saturday, May 31, 2008 5:22 PM Subject: Re: [Clamav-users] 0.93.1RC1 (libbz issues) > Dennis Peterson wrote: >> Ejaz wrote: >> >>> Hi, >>> Actually We are an ISP (CYBERIA) of Saudi Arabia, I have same issue >>> as described below although I have dowloaded latest bzip2 package from >>> the sunfreeware but no use, Please help us to solve this issue, >>> >>> Here is my solaris 8 box info, >>> >>> >> >> > > For bzip2 issues on Solaris 8 see this bugreport: > https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1038 > >> I use a simple script to build clamav. Your environment is likely >> somewhat different so this may not work for you. The important part is >> the LDFLAGS declaration. It puts /usr/local/lib before /usr/lib so the >> linker will find my libraries first. Line wrap may occur. I also use >> pcre libraries to avoid regex problems with Solaris regex. >> >> #!/bin/sh >> >> CFLAGS="-O3" >> CPPFLAGS="-O3" >> LIBS="-lpcreposix -lpcre" >> LDFLAGS="-R/usr/local/lib -L/usr/local/lib -L/usr/lib >> -L/usr/local/ssl9.8e/lib" >> > > Linking with pcre is no longer needed (and it has no effect), because > clamav uses an embedded regex engine. (since 0.92 IIRC) > ssl is also not needed. > > Best regards, > --Edwin > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://lurker.clamav.net/list/clamav-users.html _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html