In trying to compile .80 on SUSE 9.0 Pro AMD64, I get two errors. In the archives I noticed someone with the same problem back in April but he never solved it.

The first error is 'make' complains about libgmp. I do have libgmp in /lib64 but not in /lib. I assume I should be able to compile against the /lib64 libraries but the error may be that it isn't in /lib. Passing 'configure' the --libdir=/lib64 argument didn't fix anything.

The second error listed below is related to libbz2. I have this library in both /lib and /lib64. It seems to have issues with whichever one it is trying to use.

I have had the original poster in April confirm that his system gives this exact same error on his box with the current .80 version. Any ideas? I can post to the developers list if that is proper.

----- Compile Error #1 ----
*** Warning: linker path does not have real file for library -lgmp.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgmp and none of the candidates passed a file format test
*** using a file magic. Last file checked: /lib/libz.so.1.1.4
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
----------------------

----- Compile Error #2 -----
gcc -g -O2 -o clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.a -lz /usr/lib/libbz2.so -lgmp -lpthread -lnsl
/usr/lib/libbz2.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [clamscan] Error 1
make[2]: Leaving directory `/usr/t/clamav-0.80/clamscan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/t/clamav-0.80'
make: *** [all] Error 2


_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to