LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-17-2019, 11:55 AM   #1
FlatAssembler
Member
 
Registered: Apr 2018
Posts: 43

Rep: Reputation: Disabled
Can't install WINE on 64-bit Oracle Linux


Hey, guys!
So, as some of you know, I've installed Oracle Linux on my Acer Nitro 5 laptop in order to replace the unworkable (drivers and GUI problems) Linpus Linux. However, I can't install WINE on Oracle Linux, I keep getting the message that my .EXE files are 64-bit and can't be run on 32-bit WINE, even though none of those things are correct (my WINE is neither 32-bit, nor are the apps I've tried to run 64-bit).
Anyway, the most important thing, can you verify that the executable console programs I've compiled and are available here work in WINE? It seems to me that "ROSE.EXE" is very unlikely to work in WINE the same way it works on Windows 10 (where it draws a polar rose). Also, I am not sure if any of the programs that I've written in my own programming language (see the "AEC" files in some text-editor), since the parts of the programs I've written in Assembly rely on the functions such as "_printf" being present in MSVCRT, and I can't find any reference telling me that's implemented in WINE.
Making WINE work isn't urgent, since I've installed Windows 10 (very slow) and ReactOS (fast, but quite a few programs aren't working there) in VirtualBox.
 
Old 06-17-2019, 01:13 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
We can't call anything on the information you gave us.

To have a 32 & 64bit wine, and I have 32bit libs in /usr/lib/wine/ and I have SIMILARLY NAMED 64bit libs in /usr/lib64/wine/. If you don't have two library directories you can only run 32bit or 64bit; 64bit is basically next to nothing nothing. I wouldn't bother installing wine in my 64bit only distro.

Likewise, my ~/.wine/drive_c/ has Program Files/, and Program Files (x86)/ for 64 & 32.

Run file on your wine libs, programs, and post the results please. Also run file on your wine & winbe64 executables
 
1 members found this post helpful.
Old 06-17-2019, 01:53 PM   #3
FlatAssembler
Member
 
Registered: Apr 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
We can't call anything on the information you gave us.

To have a 32 & 64bit wine, and I have 32bit libs in /usr/lib/wine/ and I have SIMILARLY NAMED 64bit libs in /usr/lib64/wine/. If you don't have two library directories you can only run 32bit or 64bit; 64bit is basically next to nothing nothing. I wouldn't bother installing wine in my 64bit only distro.

Likewise, my ~/.wine/drive_c/ has Program Files/, and Program Files (x86)/ for 64 & 32.

Run file on your wine libs, programs, and post the results please. Also run file on your wine & winbe64 executables
Well, I don't think my Linux can only run 64-bit apps, since it can run FlatAssembler apparently without problems, and FlatAssembler for Linux is a 32-bit app, isn't it?
 
Old 06-17-2019, 09:59 PM   #4
FlatAssembler
Member
 
Registered: Apr 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
OK, here is what WINE prints right now when I UNZIP the ROSE.EXE file and try to run it from the terminal:
Code:
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 2
wine: Bad EXE format for Z:\home\teo.samarzija\Documents\aec\rose.exe.
I've tried to configure it in many ways, but it can never start even the most simple programs. Under one configuration I get that "Can't run 64-bit Windows programs on 32-bit Linux.", under some other configuration, I get this.
Has anybody here managed to install WINE on Oracle Linux?
Anyway, like I've said, that's not really important to me. I just want to know whether the console executable files I've linked to work properly in WINE (they aren't viruses, you can see the code, they are either Duktape stubs to run JavaScript or are written in my own programming language, and you can see the code, as well as the code used to compile them). I suppose many of the people on this forum can actually test that, right?
 
Old 06-18-2019, 04:10 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
As I asked before

Quote:
Run file on your wine libs, programs, and post the results please. Also run file on your wine & wine64 executables
 
Old 06-18-2019, 10:36 AM   #6
FlatAssembler
Member
 
Registered: Apr 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
As I asked before
Do you know how to do that on Oracle Linux? I don't.
 
Old 06-19-2019, 04:58 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Presuming it has the file program, run
Code:
file </path/to/program>
with your own programs/libs inserted.
 
Old 06-27-2019, 11:31 AM   #8
FlatAssembler
Member
 
Registered: Apr 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Anyway, if there are any experts in WINE here, could you answer this question related to WINE?
https://stackoverflow.com/questions/...80490_56744234
 
Old 06-27-2019, 11:46 AM   #9
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Not sure this is a wine issue: Oracle Linux is a bastardized version of RHEL and was designed for one thing and one thing only: run Oracle DBs and Oracle app servers. They may not have the appropriate components present in the core OS or the available update repositories to run wine apps. I don't know this for sure because my only experience with Oracle Linux is on servers and my former employer switched away from it because of cost and the sheer number of problems with it.

It may be possible to download and incorporate wine into Oracle Linux but I have not done that.
 
Old 06-27-2019, 05:24 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
"sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/28/winehq.repo" might work but see this page.


https://wiki.winehq.org/CentOS/RHEL
 
Old 06-30-2019, 10:55 AM   #11
FlatAssembler
Member
 
Registered: Apr 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
Not sure this is a wine issue: Oracle Linux is a bastardized version of RHEL and was designed for one thing and one thing only: run Oracle DBs and Oracle app servers. They may not have the appropriate components present in the core OS or the available update repositories to run wine apps. I don't know this for sure because my only experience with Oracle Linux is on servers and my former employer switched away from it because of cost and the sheer number of problems with it.

It may be possible to download and incorporate wine into Oracle Linux but I have not done that.
Hey, listen, if I try to install Windows 10 on my Acer Nitro 5 laptop, I get a BSOD before I can even format the disk. If I try to install Ubuntu on it, I get a kernel panic during installation. If I try to install Linpus, I can't get either the GUI or the WiFi drivers to work. Oracle Linux is one of few operating systems that actually work on my laptop. It starts slowly and logs tons of ACPI errors while booting, but at least it manages to boot.
 
Old 06-30-2019, 10:59 AM   #12
FlatAssembler
Member
 
Registered: Apr 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
"sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/28/winehq.repo" might work but see this page.


https://wiki.winehq.org/CentOS/RHEL
Oracle Linux doesn't support the "dnf" command.
 
Old 07-01-2019, 05:04 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
dnf = yum in disguise. Oracle does have yum, or even rpm??
 
Old 07-01-2019, 11:08 AM   #14
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
A quick check shows the question of Linux has been raised in the Acer forum. It seems the problem is Nvidia (surprise, surprise). Try booting the Linux installer with nomodeset added to the grub command line, which is said to work with Ubuntu. For further information on sorting the Nvidia chip, see
https://vrodic.blogspot.com/2018/06/...-on-linux.html

But if it runs Oracle, then it should run Red Hat, and if it runs Red Hat it should run Fedora or CentOS.
 
Old 07-01-2019, 04:19 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
FlatAssembler, did you read that page I linked?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit Wine and 64 bit Windows applications. SketchUp 2015/16 64 bit install fails. bamunds Slackware 2 03-23-2016 08:42 PM
Can't find 32 bit libs to run 32 bit prog on 64 bit CentOS homer_3 Linux - Distributions 2 09-30-2013 08:45 PM
LXer: Installing 64-bit Oracle 10g on 64-bit Linux LXer Syndicated Linux News 0 05-12-2007 01:31 PM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:47 PM.

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