LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2015, 06:31 AM   #1
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Rep: Reputation: 11
Error running programs with wine


I tried installing directx9, with 'winetricks directx9', and I get the error below. It also happens whenever I try to run any EXE with wine. I use Slackware 14.1 and 'slackpkg file-search libXext' shows that this package(libXext-1.3.2-x86_64-1) is installed.

My wine version is 1.7.33, the newest version I could find a package for. I would greatly appreciate any help I can get to resolve this.

The error:
Quote:
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libXext.so.6: cannot open shared object file: No such file or directory
err:user:load_desktop_driver failed to load L"C:\\windows\\system32\\winex11.drv"
Application tried to create a window, but no driver could be loaded.
The explorer process failed to start.
 
Old 08-26-2015, 06:57 AM   #2
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Original Poster
Rep: Reputation: 11
I appears the version I have is a development version. I'm going to try the stable release for slackware from the winehq website. I'll report back if anything changes.

Edit: No change. Here is the full output:

Quote:
bash-4.2$ winetricks directx9
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call directx9
Executing load_directx9
------------------------------------------------------
You probably shouldn't be using this. d3dx9 or, better, d3dx9_36 usually suffice.
------------------------------------------------------
Setting Windows version to winxp
Executing winetricks_early_wine regedit C:\windows\Temp\_directx9\set-winver.reg
Executing wine directx_feb2010_redist.exe /t:C:\windows\Temp\_directx9
preloader: Warning: failed to reserve range 00010000-00110000
Wine cannot find the ncurses library (libncurses.so.5).
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libXext.so.6: cannot open shared object file: No such file or directory
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
Application tried to create a window, but no driver could be loaded.
Unknown error (127).
------------------------------------------------------
Note: command 'wine directx_feb2010_redist.exe /t:C:\windows\Temp\_directx9' returned status 199. Aborting.
------------------------------------------------------

Last edited by ahc_fan; 08-26-2015 at 07:59 AM.
 
Old 08-26-2015, 10:30 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Try the version from AlienBob's repository and watch if the problem persists: http://www.slackware.com/~alien/slackbuilds/wine/
 
Old 08-27-2015, 05:11 AM   #4
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Original Poster
Rep: Reputation: 11
That's the one that was giving the error. I also tried the slackware package from winehq and same deal.

Last edited by ahc_fan; 08-27-2015 at 05:15 AM.
 
Old 08-27-2015, 05:30 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Is your Slackware system a full installation or did you leave out packages during the installation?
Also, have you tried to compile a package yourself, using AlenBob's Slackbuild script?
 
Old 08-27-2015, 05:41 AM   #6
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Original Poster
Rep: Reputation: 11
Yes I chose the full installation and updated everything via slackpkg.

I tried the slack build as well. Running it as is tells me I need 32-bit build tools in order to proceed. I tried passing --enable-win64 to configure and it ran all the way through without errors and I was even able to download and install stuff with winetricks, but whenever I run an EXE I get this "bad EXE format" error. I'm not really familiar with building software from source so I haven't delved much further into this...
 
Old 08-27-2015, 07:29 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You do need to switch your system to a multilib system for Wine to work, it needs the 32 bit stuff.
 
1 members found this post helpful.
Old 08-27-2015, 02:34 PM   #8
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Original Poster
Rep: Reputation: 11
Found this: http://docs.slackware.com/slackware:multilib

Got it working now, thanks!
 
  


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
WINE - Running DOS Programs ostrowlaw Linux - Software 2 05-30-2007 08:47 AM
no audio when running programs under wine novice26 Linux - Software 1 03-30-2005 10:05 PM
running programs in wine djgerbavore Linux - Newbie 2 02-01-2005 07:25 PM
open with programs running under wine? fibbi Linux - Software 1 05-01-2004 05:05 AM
Running windows programs with Wine Rjones1981 Linux - Newbie 3 03-13-2004 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:22 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