Bad .EXE file?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jetbird_D2
Level 2
Level 2
Posts: 13
Joined: Fri Mar 18, 2011 3:12 pm

Bad .EXE file?

Post by Jetbird_D2 »

Hello!

I faced a very strange issue with wine. So I am trying to launch my beloved app that works under wine 99% good, but after upgrading to Ubuntu 11.10 I get this problem (extraction from terminal):

wine: Bad EXE format for H:\Desktop\Carrara 8.1

I get the same problem if I go to the 'hidden' wine folder and go to c drive and launch it from there.

any advice on this?
Thank you very much!
Kind regards,
Jetbird_D2
Level 2
Level 2
Posts: 13
Joined: Fri Mar 18, 2011 3:12 pm

Post by Jetbird_D2 »

after updating wine to 1.4 I get an error that says:

err:module:load_builtin_dll failed to load .so lib for builtin L"OPENGL32.dll": libGL.so.1: cannot open shared object file: No such file or directory
err:module:import_dll Loading library OPENGL32.dll (which is needed by L"C:\\Program Files\\DAZ 3D\\Carrara8\\Carrara.exe") failed (error c000007a).
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\DAZ 3D\\Carrara8\\Carrara.exe" failed, status c0000135


So it appears I do not have some 32bit system libs missing.

Any advices on easy install these or even better could there be any pre-made wine64 bit? I still do not dare to compile things my self because it never ends good...

Anyway, I would be grateful for any kind of help.
Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Jetbird_D2 wrote:after updating wine to 1.4 I get an error that says:

err:module:load_builtin_dll failed to load .so lib for builtin L"OPENGL32.dll": libGL.so.1: cannot open shared object file: No such file or directory
err:module:import_dll Loading library OPENGL32.dll (which is needed by L"C:\\Program Files\\DAZ 3D\\Carrara8\\Carrara.exe") failed (error c000007a).
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\DAZ 3D\\Carrara8\\Carrara.exe" failed, status c0000135


So it appears I do not have some 32bit system libs missing.

Any advices on easy install these or even better could there be any pre-made wine64 bit? I still do not dare to compile things my self because it never ends good...
You need to install 32 bit opengl, and you would need that to run 32 bit apps even if your distro packaged 64 bit Wine.
Jetbird_D2
Level 2
Level 2
Posts: 13
Joined: Fri Mar 18, 2011 3:12 pm

Post by Jetbird_D2 »

hello!

Thank you for your reply.
Would you happen to know some recommendations how to install them on Ubuntu 11.10? I tried the instructions that I found in these forums that directed to official wine pages showing how to install 32 bit libraries however on the end terminal writes me " + echo I do not know how to install 32 bit libraries for distro Ubuntu
11.10 yet
I do not know how to install 32 bit libraries for distro Ubuntu
11.10 yet"

it also says that all libs are at their newest versions already.

I tried to isntall NVidia 32 lib as was showed in the 64bit wine page but it refused to do so, but i have optimus tragedy on my pc so i guess I should look at intel and mesa driver? However I was unable to find how to yet.

Thank you very much for your time!
Frédéric Delanoy

Bad .EXE file?

Post by Frédéric Delanoy »

On Tue, Feb 14, 2012 at 10:53, Jetbird_D2 <[email protected]> wrote:
I tried to isntall NVidia 32 lib as was showed in the 64bit wine page but it refused to do so, but i have optimus tragedy on my pc so i guess I should look at intel and mesa driver? However I was unable to find how to yet.
Try searching for bumblebee and/or ironhide
Jetbird_D2
Level 2
Level 2
Posts: 13
Joined: Fri Mar 18, 2011 3:12 pm

Post by Jetbird_D2 »

I have solved my problem.
this link gives the needed steps to be done:
https://github.com/nullkey/glc/wiki/Install


Could this link go to a sticky thread about wine 64 bits and how to get it working with open GL?
for some reason I believe I am not the only lost cheep here. :)

Kind regards.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Jetbird_D2 wrote:I have solved my problem.
this link gives the needed steps to be done:
https://github.com/nullkey/glc/wiki/Install

Could this link go to a sticky thread about wine 64 bits and how to get it working with open GL?
for some reason I believe I am not the only lost cheep here. :)
That link is about how to compile glc, which is a video capture tool that has nothing to do with Wine. It may have inadvertently solved your problem by installing some of Wine's dependencies, but those directions are not the definitive answer as to how to get opengl working with Wine on a 64 bit system. Most distros provide 32 bit compatibility packages for 64 bit systems, and I know Ubuntu does. How and what to install varies by distro, and users need to consult their distro's support channels for help with that.
Locked