32-bit apps on 64-bit Fedora 28

I believe that I’ve found it. It’s gtk-2 that is failing.

libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory


Here’s what I did:

sudo -s
yum groupinstall "Compatibility Libraries"
yum install gtk2

[parallels@localhost EKM-Dash]$ sudo -s [sudo] password for parallels: [root@localhost EKM-Dash]# yum groupinstall "Compatibility Libraries" Last metadata expiration check: 0:26:01 ago on Thu 30 Aug 2018 01:29:03 PM PDT. Warning: Module or Group 'Compatibility Libraries' does not exist. Error: Nothing to do. [root@localhost EKM-Dash]# yum install gtk2 Last metadata expiration check: 0:26:23 ago on Thu 30 Aug 2018 01:29:03 PM PDT. Package gtk2-2.24.32-2.fc28.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [root@localhost EKM-Dash]# ./EKM-Dash bash: ./EKM-Dash: No such file or directory

No go. Any other suggestions?

[quote=403362:@Jason Parsley]This seems to be a key line:

bash: ./EKM-Dash: No such file or directory

Are you compiling this on macOS? On Linux? If on macOS, how are you getting it on the Linux VM?[/quote]

On macOS 10.13.6, Xojo 2017r1.1. I drag and drop the build folder into the Linux VM’s Files app. For the released version I downloaded the zipped folder and unzipped it within the VM.

I had this running last year, but it was probably a 32-bit Linux OS.
I have tried Mint as well, with the same result.

I don’t understand how I can do the above installations, but you get those failures. How did you install Fedora 28 - from the netinstall image or the LiveCD image?

@Paul Rodman – Are you sure you’re selecting x86 32-Bit and not ARM 32-Bit?

I think it was from within Parallels, which downloads the netinstall image and uses it.

Quite sure.

I can try a fresh VM install of Fedora. Stay tuned. Ouch 3.05GB. This might take a while…

I’m installing from the Netimage this time to test as well since I normally install from the LiveCD image since it reduces network traffic here.

OK, on the fresh system install the
yum groupinstall “Compatibility Libraries”
seems to be working. This looks encouraging. Stay tuned.

Or not. Spoke too soon. It was some 64-bit updates that had me fooled. “Compatibility Libraries” doesn’t seem to exist. Ah well, not my day. Tim, thanks for the time you spent on this.

[parallels@localhost ~]$ sudo -s [sudo] password for parallels: [root@localhost parallels]# yum groupinstall "Compatibility Libraries" Fedora 28 - x86_64 - Updates 2.3 MB/s | 23 MB 00:10 Fedora 28 - x86_64 3.6 MB/s | 60 MB 00:16 Last metadata expiration check: 0:00:12 ago on Thu 30 Aug 2018 02:52:33 PM PDT. Warning: Module or Group 'Compatibility Libraries' does not exist. Error: Nothing to do. [root@localhost parallels]# yum install gtk2 Last metadata expiration check: 0:01:47 ago on Thu 30 Aug 2018 02:52:33 PM PDT. Package gtk2-2.24.32-2.fc28.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete!

Hang on. I assumed when I used this command:

sudo yum install glib2.i686 libgcc.i686 libstdc++.i686 gtk3.i686 webkitgtk3.i686

that it would install any of the listed stuff. Turns out that since it couldn’t find webkitgtk3.i686, nothing was installed. If I leave that off then a bunch of libraries are installed via:

sudo yum install glib2.i686 libgcc.i686 libstdc++.i686 gtk3.i686

Now, when I try and launch the EKM Dash app, I get:

[code][root@localhost EKM Dash]# ./EKM\ Dash
Failed to find/load Framework library
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

[root@localhost EKM Dash]# ldd ./EKM\ Dash
linux-gate.so.1 (0xf7f1e000)
librt.so.1 => /lib/librt.so.1 (0xf7ef6000)
libdl.so.2 => /lib/libdl.so.2 (0xf7ef1000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7ed2000)
libc.so.6 => /lib/libc.so.6 (0xf7d2e000)
/lib/ld-linux.so.2 (0xf7f20000)
[/code]

How do I install that missing library?

Try

yum install gtk2-2.24.32-2.fc28.i686

In Fact, on the new Fedora install, ALL that I needed was to do that and the remaining 32bit stuff was automatically installed.

[quote=403381:@Tim Jones]Try

yum install gtk2-2.24.32-2.fc28.i686[/quote]

Sweet! That resolves the issue.

Thank you most kindly for your persistence and patience.