[Slackbuilds-users] clamav build issues

B Watson yalhcru at gmail.com
Tue Jun 10 22:25:58 UTC 2014


On 6/10/14, Miguel De Anda <miguel at thedeanda.com> wrote:

> /usr/lib/libxml2.so: error adding symbols: File in wrong format

That's a classic multilib error. You're building a 64-bit package, but the
linker is trying to use the library in /usr/lib (which is the 32-bit one).

Usually you can fix these by adding LDFLAGS="-L/usr/lib64" in front
of the configure command (or whatever it's using), in the same way as
CFLAGS and CXXFLAGS. See http://slackbuilds.org/faq/#multilib


More information about the SlackBuilds-users mailing list