clamav-users May 2014 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [clamav-users] Compiling error: /usr/lib/libxm

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

From: MarkusGMX <Markus.Egg_at_nospam>
Date: Tue May 13 2014 - 23:19:18 GMT
To: ClamAV users ML <clamav-users@lists.clamav.net>

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

_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml