David wrote:
Hi,
I'm having problems installing clamav on fedora core 2_64.
If I use the rpm I get the errors below.
Is it rpm for amd64? rpm for i386 might not work
rpm -ivh --test /root/clamav-0.74-1.i386.rpm error: Failed dependencies: libbz2.so.1 is needed by clamav-0.74-1 libgmp.so.3 is needed by clamav-0.74-1 libz.so.1 is needed by clamav-0.74-1
because it will look for 32 bit libs in /usr/lib
All the files are installed in /usr/lib64 and I have tried creating symbolic links from /usr/lib64 to /usr/lib but it hasn't helped.
32 bit and 64 apps require different libs. Creating links isn't enough.
If I try a build from the tar file I get
lo msexpand.lo -lz -lpthread -Wl,-soname -Wl,libclamav.so.1 -o .libs/libclamav.so.1.0.4
/usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [libclamav.la] Error 1
make[2]: Leaving directory `/usr/src/clamav-0.74/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/clamav-0.74'
make: *** [all] Error 2
Seems like you need 32 bit versions of those libs (zlib, gmp, etc.) Or, try compiling for 64 bit with "CFLAGS=-m64 ./configure"
Regards,
Fajar
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
