LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05:59 PM   #1
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
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 11:30 AM.
 
Old 07-27-2012, 07:26 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
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, 07:36 PM   #3
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Original Poster
Rep: Reputation: 181Reputation: 181
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, 07:43 PM   #4
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
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, 08:20 PM   #5
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Original Poster
Rep: Reputation: 181Reputation: 181
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 08:31 PM.
 
Old 07-28-2012, 03:10 AM   #6
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
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, 11:01 AM   #7
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Original Poster
Rep: Reputation: 181Reputation: 181
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, 11:08 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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, 11:24 AM   #9
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Original Poster
Rep: Reputation: 181Reputation: 181
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



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 09:00 PM
[SOLVED] 64-current 2010-08-27 - segfaults - zlib? no: libxml2 ponce Slackware 13 06-21-2011 11:18 AM
php5 connot find big libxml2? xjtdy888 Linux - Networking 1 05-29-2006 02:03 AM
can't find installed libxml2 during ./configure progressdll Linux - Software 2 09-23-2003 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:18 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
Open Source Consulting | Domain Registration