f.haeder.net

Cannot find i386 libxml2 ?

I currently try to trick Wine being build with libxml2 support (32 bit version) but no avail.

I use latest stable from git and I found this in config.log
configure:11399: ccache gcc -m32 -o conftest -g -O3 -fPIC -I/usr/include/libxml2 conftest.c -lxml2 -lxml2 >&5
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libxml2.so when searching for -lxml2
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libxml2.a when searching for -lxml2
/usr/bin/ld: cannot find -lxml2
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libxml2.so when searching for -lxml2
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libxml2.a when searching for -lxml2
/usr/bin/ld: cannot find -lxml2
collect2: error: ld returned 1 exit status
configure:11399: $? = 1

Sure you can understand that I cannot remove the 64 bit version. The 32 bit version is installed and can be found by ldconfig:
$ ls -l /usr/lib/i386-linux-gnu/libxml2.so.2*
lrwxrwxrwx 1 root root 16 Jan 2 08:59 /usr/lib/i386-linux-gnu/libxml2.so.2 -> libxml2.so.2.9.4
-rw-r--r-- 1 root root 2011260 Jan 2 08:59 /usr/lib/i386-linux-gnu/libxml2.so.2.9.4

Anyone with good C++ knowledge around?
compiler (x) gcc (x) libxml2 (x) linker (x) wine (x)
I have this file i386-linux-gnu:
# Multiarch support
/usr/local/lib/i386-linux-gnu
/lib/i386-linux-gnu
/usr/lib/i386-linux-gnu
/usr/local/lib/i686-linux-gnu
/lib/i686-linux-gnu
/usr/lib/i686-linux-gnu