LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-27-2012, 06:59 PM   #1
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 216

Rep: Reputation: 65
Wine can't find libxml2 on -current


Hey guys,

I'm trying to run Ford Racing 2 on Wine. Looks like I need Windows Media Player for it, but the setup of WMP does only work if Wine has been compiled with libxml2 support.

I have installed libxml2 and the -compat32 package, but configure is still unable to find it.

The logfile shows the following:

Code:
#define HAVE_LIBXML_SAX2_H 1
| /* end confdefs.h.  */
| #include <libxml/tree.h>
| 
| int
| main ()
| {
| if (sizeof ((xmlDocProperties)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9411: result: yes
configure:9426: error: libxml2 32-bit development files not found (or too old), XML won't be supported.
I don't know what I can do now. Result: yes looks like it has found libxml2, but it still throws out an error. Any ideas?

Last edited by schmatzler; 07-28-2012 at 12:30 PM.
 
Old 07-27-2012, 08:26 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
I just installed WMP10 in wine 1.5.5 (Eric's precompiled version) without issue using winetricks.

So go here to get wine for Slackware :- http://www.slackware.com/~alien/slackbuilds/wine/
Get winetricks here :- http://winetricks.org/winetricks (right click and save)

Say yes to download gecko on first run of winetricks

Select "Select the default wineprefix"
Select "Install a Windows DLL or component"
Select "wmp10 - Windows Media Player 10 (Microsoft, 2006) [downloadable]"

NB You need to click "OK" in winetricks double clicks don't seem to work and "cancel" should be read as "go back"
 
Old 07-27-2012, 08:36 PM   #3
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 216

Original Poster
Rep: Reputation: 65
Yeah well, that doesn't work either because there are missing .so files on -current and it can't load the msxml3.dll

I still need to find a way to build msxml3.dll = telling configure that msxml3 is present.
 
Old 07-27-2012, 08:43 PM   #4
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
Have you updated the multilib stuff yet?

You did mention your running it but I assumed you have it up to date.
 
Old 07-27-2012, 09:20 PM   #5
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 216

Original Poster
Rep: Reputation: 65
Yes, everything is up-to-date I tried downgrading to libxml2 2.7.8 but this also didn't work. Same results.

Running the original SlackBuild for Wine 1.5.5 results in the same behaviour. Normally I wouldn't care, but this game isn't running on my Windows Box and getting it to work with Wine would be an extreme advantage.

Last edited by schmatzler; 07-27-2012 at 09:31 PM.
 
Old 07-28-2012, 04:10 AM   #6
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
The only thing I can think of is your missing a package.

If you install Eric's wine package and then go to /usr/lib/wine and run ldd on the msxml3.dll.so you might see what lib is missing.

For reference it should give you this :-
Code:
        linux-gate.so.1 (0xffffe000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xf74c2000)
        libdl.so.2 => /lib/libdl.so.2 (0xf74bd000)
        libwine.so.1 => /usr/lib/libwine.so.1 (0xf737c000)
        libm.so.6 => /lib/libm.so.6 (0xf7350000)
        libc.so.6 => /lib/libc.so.6 (0xf71ce000)
        libz.so.1 => /lib/libz.so.1 (0xf71b8000)
        liblzma.so.5 => /lib/liblzma.so.5 (0xf7193000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7179000)
        /lib/ld-linux.so.2 (0xf76eb000)
Packages for those libs

libxml2-compat32-2.8.0-x86_64
libxml2.so.2

glibc-2.15_multilib-x86_64
libdl.so.2
libm.so.6
libc.so.6
libpthread.so.0
ld-linux.so.2

wine-1.5.5-x86_64
libwine.so.1

zlib-compat32-1.2.6-x86_64
libz.so.1

aaa_elflibs-compat32-14.0-x86_64
liblzma.so.5
 
Old 07-28-2012, 12:01 PM   #7
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 216

Original Poster
Rep: Reputation: 65
The pre-built wine from AlienBob says

Code:
err:module:load_builtin_dll failed to load .so lib for builtin L"msxml3.dll": liblzma.so.5
So this is it (at least for the precompiled version). liblzma.so.5 from aaa_elflibs is missing. But I have a note in slackpkgs blacklist file that aaa_elflibs can't be updated automatically. What should I do? Ignore the warning or simply copy the .so-file manually?

I thought, everything that's inside aaa_elflibs is also present in other packages so there is no need to upgrade it. Now I'm confused.
 
Old 07-28-2012, 12:08 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,390

Rep: Reputation: Disabled
Quote:
Originally Posted by schmatzler View Post
But I have a note in slackpkgs blacklist file that aaa_elflibs can't be updated automatically. What should I do? Ignore the warning or simply copy the .so-file manually?
We ha da discussion very recently, that this advice in the blacklist file is useless and should be removed. The "aaa_elflibs" package can be updated by slackpkg without any danger. It is the first thing I remove from the blacklist usually.

Eric
 
Old 07-28-2012, 12:24 PM   #9
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 216

Original Poster
Rep: Reputation: 65
Thank you! I will remember that. Looks like Wines configure script checks for liblzma and when it doesn't find it it just complains about libxml development headers missing. That's a "bit" misleading.

Compiling 1.5.9 now - maybe I can enjoy some good racing sessions today
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 5 cannot find xml2-config for libxml2 support ridertech Linux - Software 21 02-08-2013 10:00 PM
[SOLVED] 64-current 2010-08-27 - segfaults - zlib? no: libxml2 ponce Slackware 13 06-21-2011 12:18 PM
php5 connot find big libxml2? xjtdy888 Linux - Networking 1 05-29-2006 03:03 AM
can't find installed libxml2 during ./configure progressdll Linux - Software 2 09-23-2003 10:52 AM


All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration