[clamav-users] Compiling error: /usr/lib/libxml2.so: error adding symbols: File in wrong format

MarkusGMX Markus.Egg at gmx.at
Tue May 13 23:19:18 UTC 2014


Am 08/05/14 22:52, schrieb Alexander Tampermeier:
> Dave,
>
> thank you for your detailed  response. First, I tried to configure with
> option "--disable-xml" as you suggested but this attempt led to further
> problems:
>     CC     libclamav_internal_utils_la-regerror.lo
>     CC     libclamav_internal_utils_la-regexec.lo
>     CC     libclamav_internal_utils_la-regfree.lo
>     CCLD   libclamav_internal_utils.la
>     CCLD   libclamav.la
> /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
> /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
> /usr/bin/ld: skipping incompatible /usr/lib/libbz2.so when searching for
> -lbz2
> /usr/bin/ld: skipping incompatible /usr/lib/libbz2.a when searching for
> -lbz2
> /usr/lib/libltdl.so: error adding symbols: File in wrong format
> collect2: error: ld returned 1 exit status

Similar errors with clamav-0.98.3 here with an older SuSE 12.1:

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/lib/libltdl.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[4]: *** [libclamav.la] Error 1


clamav-0.98.1 just compiles fine.
First time that I have compile problems with clamav afair.
Any solution for this?


BR
Markus





More information about the clamav-users mailing list