LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 13 64 - Alien Bob's multilib and Wine (http://www.linuxquestions.org/questions/slackware-14/slackware-13-64-alien-bobs-multilib-and-wine-807636/)

gezley 05-13-2010 02:14 PM

Slackware 13 64 - Alien Bob's multilib and Wine
 
Hi

I followed the instructions at Alien Bob's website to turn my Slackware 13 64 into a multilib system.

I then installed Alien Bob's Wine package (x86_64).

I get the following error trying to run Wine:

Code:

/usr/bin/wine: cannot execute binary file
After doing this:
Code:

. /etc/profile.d/32dev.sh
and disabling OpenGL I also tried running the Slackbuild to create my own package but that fails as well, complaining about Freetype fonts. I had already installed Fontforge and webcore-fonts before turning my system into a multilib system - do I have to install these again now that the system is multilib?

I'm afraid I can't be any more helpful than this. When I open the archive it appears to me that Alien Bob's package contains all the libraries and dependencies Wine requires. Other guides on the internet say nothing about installing dependencies before running his package.

gezley 05-13-2010 02:21 PM

One more question - I have the following in /etc/profile:

Code:

export ARCH="x86_64"
Is it OK to leave this alone when the system is multilib-enabled?

LuckyCyborg 05-13-2010 03:23 PM

Another pure demonstration of the main and well known idea: if you do not high performance 3D rendering or run a high performance server, stay in the fu**ing 32-bit OR run 64-bit applications only.

onebuck 05-13-2010 04:10 PM

Hi,

Quote:

Originally Posted by LuckyCyborg (Post 3967370)
Another pure demonstration of the main and well known idea: if you do not high performance 3D rendering or run a high performance server, stay in the fu**ing 32-bit OR run 64-bit applications only.

And that was constructive to the OP how?

You did follow the instrucxtions for 'compat32-tools';

Quote:

excerpt from 'Multilib Slackware for x86_64';

This ”compat32-tools” package needs some explanation.
Please read the detailed 'README' file in the /usr/doc/compat32-tools-*/ directory, it will help you on your way. These are the three useful scripts which the package installs:

*
/etc/profile.d/32dev.sh
This is the same script that comes with Slamd64. It reconfigures your shell environment so that it will be easier for you to compile 32-bit software (by preferring the 32-bit compilers and libraries over their 64-bit versions)

*


LuckyCyborg 05-13-2010 04:37 PM

Quote:

Originally Posted by onebuck (Post 3967430)
Hi,
And that was constructive to the OP how?

Sorry, my bad! Dear OP, the idiots who write the stupid app called WINE (Windoz emulation on UNIX @ Co.) think that their child, WINE is STRICTLY a 32-bit medium.

So, IF you are able to RUN WINDOWS apps in a 64-bit WINE, you are lucky man. So lucky man. The WINE devs will be amazed and will yell OMG! So, you are enough to win the bigger pot in the Las Vegas casinos...

samac 05-13-2010 05:41 PM

Quote:

Sorry, my bad! Dear OP, the idiots who write the stupid app called WINE (Windoz emulation on UNIX @ Co.) think that their child, WINE is STRICTLY a 32-bit medium.

So, IF you are able to RUN WINDOWS apps in a 64-bit WINE, you are lucky man. So lucky man. The WINE devs will be amazed and will yell OMG! So, you are enough to win the bigger pot in the Las Vegas casinos...
Apparently the only idiot here is you as you surely know that the x86_64 in the package name only means that it has been compiled on a 64-bit system or in the case of wine cross-compiled. I would also point out that I happily run several windows applications on my Slackware64 (multi-lib) system.

I would also like to suggest that you are in need of large glass of whisky and some relaxing music as you have a bad case of "troll" setting in, and you will find that others will treat you with respect if you offer it to them.

samac

cwwilson721 05-13-2010 06:12 PM

wine (32-bit compiled on a 64 bit SW13 system), worked perfectly fine on my Slackware Multi-lib system.

Installed the multi-lib according to alienBoB's instructions, and then compiled wine from source.

I played World of Warcraft absolutely fine with that setup.

Sounds like the OP doesn't know how to setup wine. (I'm guessing he never ran
Code:

winecfg
after compiling/installing

LuckyCyborg 05-13-2010 06:13 PM

Since the Wine developers claim always that WINE IS 32 BITS ONLY, I congratulate you for the performances and I suggest you try the casinos, can get rich. Just don't loss the chance! :D

My bad. Post to OP.

disturbed1 05-13-2010 06:37 PM

Quote:

Originally Posted by LuckyCyborg (Post 3967557)
Since the Wine developers claim always that WINE IS 32 BITS ONLY, I congratulate you for the performances and I suggest you try the casinos, can get rich. Just don't loss the chance! :D

My bad. Post to OP.

Your posting is nothing short of being false. In the OP's case, the wine package installed is a 32bit application. It was cross compiled on a 64bit architecture producing a 32bit binary while linking to 32bit libraries. Quite simple to do if you read the docs. It's the whole point of a multi-lib system.

Secondarily, there is a pure 64bit Wine stack, which runs 64bit software for 64bit Windows. http://wiki.winehq.org/Wine64

As to the OP's exact problem, hard to tell. Missing some 32bit compatible packages? Wrong versions of 32bit compatible packages? Or quite likely one of the other very helpful suggestions made by other members in this thread.

cwwilson721 05-13-2010 06:47 PM

wine gives the "Cannot execute binary file" for many reasons.

Most common are:
  • wine not setup after install (winecfg)
  • File permissions were not changed to executable
  • File is not in a format that wine recognizes as executable
  • File is on a drive that does not allow execution of files
With more info, we may be able to get to the bottom of this issue.

Samac, I've tried the 64 bit wine, but it seems (to me, at least), not as stable as 32bit.

As to our resident thread troll, why not read the entire post before spouting off? IF you took the time to read the OP post and my post, you would see that multi-lib is setup, thus 32bit will work.

Some trolls never read....I guess that's what happens when you live under a bridge...

Plus, Mr. Troll, "wine is NOT an emulator", which is VERY true. It IS, however, a series of open-source "hooks" for some windows-only software to try to run natively on Linux. Or Mac. Try reading at www.winehq.com before you make broad assumptions. But, since trolls don't read, I'm barking up a ignorant tree here, trying to educate trolls....

I'm guessing that Mr. Troll:
  • Couldn't get his wine working, thus NOBODY ever can, and only for his own paranoid reasons
  • Can't get 3d acceleration working, thus NOBODY can
  • Mr. Troll's favorite Windows game doesn't work in Linux, thus NOBODY can run ANY Windows software in Linux, because everybody else is out to get him.
What a wonderful world you live in, Mr. Troll

wrinkledcheese 05-13-2010 08:35 PM

I found this post Googling for the exact same issue as the OP. First or second hit. I'm currently going through the process of installing the multi-lib, waiting on the 32-bit Slackware ISO to download so I can loop mount it. I don't suspect I will run into any issues, that I can't solve myself, as I'm only trying to install Steam(valve's game installer thingy). I have installed it before on a 32-bit system.

I'm only posting to ask a question however. Sorta unrelated to the OPs question.

...
Why is everyone knocking the troll? I find their - Trolls in general - comments humorous and well worth the cost of my Internet connection, as opposed to Cable Television which isn't worth the $4 worth of power it costs to run your TV set. Don't scare him back under his bridge, I like to laugh at his pessimistic uneducated opinions. I can see how they would bother the OP though, since (s)he's looking for _useful_ information regarding his/her present issue(s).

cwwilson721: You missed one reason why 'Mr. Troll' is saying what (s)he's saying... (S)He lost a lot of money in Vegas.

P.S. Wish I could provide come useful tips for the OP but I'm in the same boat. I wonder if anything here helped the OP. Sure as hell helped me...thus far.

slkrover 05-13-2010 09:46 PM

I run a 64b multilib slack with the latest Wine 32b downloaded right from Winehq. No problems or errors. Playing Morrowind, Doom, Nexiuz or Halflife all at max settings. Doesnt get much more high end 3d than that. I even installed the Nvidia driver right from Nvidia with their .sh installer. All very easy.

I never edited the ARCH setting.

IIRC you need to be multilib before installing the gfx driver as it installs 64b and 32b libs and will not know where to put the 32b libs if you are not multilib. This is not a problem if you are only running 64b programs.

Even in a windoz 64b system all my games installed to the 32b program file. They only say 64b compatible not that they are a 64b program. I dont remember anything 3d installing to the 64b folder.

gezley 05-14-2010 01:43 AM

Quote:

Originally Posted by LuckyCyborg (Post 3967370)
Another pure demonstration of the main and well known idea: if you do not high performance 3D rendering or run a high performance server, stay in the fu**ing 32-bit OR run 64-bit applications only.

The reason I choose 64-bit Slackware is that I run servers on 8, 12, 16 and 24 GB of memory. I need Wine on one of them to run a couple of Windows programs. And yes, before you suggest it, I will go down the virtual machine route if I don't get Wine working. Thanks.

gezley 05-14-2010 01:46 AM

Quote:

Originally Posted by onebuck (Post 3967430)
Hi,
You did follow the instrucxtions for 'compat32-tools';

Yes I followed everything to the letter. My system is Slackware stable. I'm still too new to Slackware to try anything audacious with the system so everything is pretty much standard install.

gezley 05-14-2010 01:47 AM

Quote:

Originally Posted by LuckyCyborg (Post 3967459)
Sorry, my bad! Dear OP, the idiots who write the stupid app called WINE (Windoz emulation on UNIX @ Co.) think that their child, WINE is STRICTLY a 32-bit medium.

So, IF you are able to RUN WINDOWS apps in a 64-bit WINE, you are lucky man. So lucky man. The WINE devs will be amazed and will yell OMG! So, you are enough to win the bigger pot in the Las Vegas casinos...

As I understand it the package provided by Alien Bob is for 64-bit Slackware. Of course I am aware Wine is 32-bit - that's why I set the machine up for multilib.


All times are GMT -5. The time now is 02:29 PM.