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

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri May 9 08:25:49 UTC 2014


On 08.05.14 22:52, Alexander Tampermeier wrote:
>So, I got into the same "error adding symbols"-trouble as before with 
>libxml2, now with libltdl. First I thought, that this might be a 
>general issue with my libraries. But then I tried to recompile 
>several packages including php (which also uses libxml2) and 
>everything compiled perfectly. This makes me believe that this issue 
>might not be related to my system only.

Apparently clamav compilation detects wrong system architecture.
What is the current kernel arch running on, and where do /lib and /usr/lib
point to?

>But what definitely is strange:
>"xml2-config-32 --libs" and "xml2-config-64 --libs" both bring the 
>same result: "-lxml2 -lz -lm -ldl"
>"./xml2-config-32 --cflags" and "./xml2-config-64 --cflags" both 
>bring the same result: "-I/usr/include/libxml2"

I don't find this strange. You need the same includes (arch-independent) and
the same libraries (although from different directories).

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
It's now safe to throw off your computer.



More information about the clamav-users mailing list