When running some programs under Wine 0.9.12, I get the following error message: "This program tried to use a DOMDocument object, libxml2 support was not present at compile time." The error message seems to be generated by some source code from Wine itself, i.e. wine/dlls/msxml3/domdoc.c However, the part of the program with the error message will only be compiled when libxml2 is not present at compile time, i.e. when the variable HAVE_LIBXML2 in Wine is false. In my system, libxml2 was installed with version 1.8.17-r2 at compile time, but that variable was not set correctly. Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3800+ Gentoo Base System version 1.6.14 ccache version 2.3 [disabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi aim alsa apache apache2 apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts blas bluetooth bonobo bzip2 cdparanoia cdr cli crypt ctype cups curl curlwrappers dba dga dio directfb doc dri dts dvb dvd dvdr dvdread eds emacs emacs-w3 emboss emul-linux-x86 encode esd ethereal examples exif expat fam fastbuild fastcgi fbcon ffmpeg fftw flac foomaticdb force-cgi-redirect fortran ftp gd gdbm ggi gif ginac glut gnome gphoto2 gpm gstreamer gtk gtk2 gtk2html gtkhtml hal icq idn ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java javascript jikes jpeg jpeg2k kde kdeenablefinal lapack lcms ldap leim libedit libwww lirc lm_sensors lzw lzw-tiff mad matroska memlimit mikmod mime mng mnogosearch mozilla mp3 mpeg mpi msn mule mysql mysqli nas ncurses nls nptl nsplugin nvidia ogg oggvorbis openal opengl osc oscar oss pam pcre pdf pdflib perl php plotutils png posix pppd python qt quicktime radius readline samba scanner sdl session simplexml soap sockets socks5 spell spl ssl symlink szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev usb v4l vcd vhosts vorbis wifi xface xine xml xml2 xmlrpc xmms xosd xpm xsl xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
i'm gonna guess you didnt provide a 32bit libxml2 for wine to link against
Thank you for your reply. I did not have the 32 bits version of libxml2 installed, which is really the problem as discussed also in Wine bugtracker issue http://bugs.winehq.org/show_bug.cgi?id=5088 However, I think that Gentoo may want to provide some easier means to install the missing library on a AMD64 system through portage. Currently there is no emul-linux-x86* package containing that library, and there is no libxml2-bin package either for providing a 32 bits binary package. As a regular user, I would only have the possibility to change the 64 bit libxml2 ebuild to compile for 32 bits, or to set up a chroot environment for 32 bits to emerge that library. Although it is not mandatory for Wine to have that library for the compilation, would it make sense to have that library emerged together with Wine? Thank you.
out of scope and already in development (search for amd64/ABI discussions) this bug report doesnt really add anything useful and no, we're not going to add some hacks just for wine in the meantime
*** Bug 146405 has been marked as a duplicate of this bug. ***