Problem running 32-bit binary on LMDE64

Questions about applications and software
Forum rules
Before you post please read this

Problem running 32-bit binary on LMDE64

Postby Cwmwd24 on Fri May 31, 2013 3:07 pm

Last week I downloaded three installers from the "Double Fine" Humble Bundle but have been unable to run them. I've checked that they are binaries and have multiarch support enabled but still can't get them to execute. The output from "file" and "ldd" contradict each other and I can't get a handle on what might be missing. Before I install a 32-bit VM thought I'd post here in case there's something obvious I've missed.

Information and errors are here: http://pastebin.com/SdWE5xS4

Many Thanks

Update:
So, no ideas?

I've since found that I can't execute any 32-bit code (not just the Humble Bundle installers mentioned here) on either the LMDE64 Desktop or Laptop. This is a show-stopper as the thing that tipped me over into the 64-bit camp was always being able to run 32-bit code should I need to.

So, next question is, can I convert my LMDE64 installs into 32-bit without too much pain? Or, would I have to reinstall. This old thread seems to be saying that it might be possible by installing 32-bit kernel via APT but I'm not sure if this will also upgrade all of the 64-bit system or leave me with a kernel and nothing else.

Any suggestions?
Cwmwd24
Level 1
Level 1
 
Posts: 10
Joined: Sun May 26, 2013 11:42 am

Linux Mint is funded by ads and donations.
 

Re: Problem running 32-bit binary on LMDE64

Postby Cwmwd24 on Sat Jul 27, 2013 11:19 am

Just to let you know (in case someone else had the same problem) that I've managed to get the installers to run this afternoon. Not 100% sure what did the trick but I decided to install the 32-bit kernel. I got an error when booting about ''init'' being missing so I rebooted back the 64-bit kernel; purged the 32-bit one and suddenly the installers run (just needed to get the 32-bit bz2 libraries).

Code: Select all
sudo aptitude install linux-image-3.2.0-4-686-pae:i386
sudo reboot
sudo aptitude remove --purge linux-image-3.2.0-4-686-pae:i386


Weird.
Cwmwd24
Level 1
Level 1
 
Posts: 10
Joined: Sun May 26, 2013 11:42 am

Re: Problem running 32-bit binary on LMDE64

Postby Monsta on Sat Jul 27, 2013 4:49 pm

Cwmwd24 wrote:This old thread seems to be saying that it might be possible by installing 32-bit kernel via APT but I'm not sure if this will also upgrade all of the 64-bit system or leave me with a kernel and nothing else.

That thread is about an experiment that may lead you astray (which is what happened, apparently), what you really need is the thread about multiarch.
Monsta
Level 8
Level 8
 
Posts: 2017
Joined: Fri Aug 19, 2011 3:46 am

Re: Problem running 32-bit binary on LMDE64

Postby Cwmwd24 on Sun Jul 28, 2013 4:18 am

Thanks for the reply,

I'd read that thread already and multiarch was/is set up correctly on both machines (according to my tests, which were on pastebin but have since expired). As I indicated, installing and then removing a 32-bit kernel let me run the installers but now I'm having problems with missing 32-bit libraries -- libGL in particular seems to have a circular dependency...

Code: Select all
$ ldd Stack.bin.x86
   linux-gate.so.1 =>  (0xf77db000)
   libSDL2-2.0.so.0 => /home/roger/Stacking/./lib/libSDL2-2.0.so.0 (0xf76f9000)
   libGL.so.1 => not found
   libGLU.so.1 => not found
   libfmodex-4.42.16.so => /home/roger/Stacking/./lib/libfmodex-4.42.16.so (0xf7554000)
   libfmodevent-4.42.16.so => /home/roger/Stacking/./lib/libfmodevent-4.42.16.so (0xf74c7000)
   libfmodeventnet-4.42.16.so => /home/roger/Stacking/./lib/libfmodeventnet-4.42.16.so (0xf742d000)
   libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7414000)
   libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf740f000)
   libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf73f6000)
   libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf730a000)
   libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf72e4000)
   libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf72c7000)
   libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7163000)
   librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf715a000)
   /lib/ld-linux.so.2 (0xf77dc000)

$ apt-file search libGL.so.1
libgl1-fglrx-glx: /usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2
libgl1-fglrx-glx: /usr/lib/x86_64-linux-gnu/fglrx/libGL.so.1
libgl1-mesa-glx: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1-mesa-glx: /usr/lib/x86_64-linux-gnu/libGL.so.1.2
libgl1-mesa-glx-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libGL.so.1.2
libgl1-mesa-swx11: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1-mesa-swx11: /usr/lib/x86_64-linux-gnu/libGL.so.1.5.08004
libgl1-mesa-swx11-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libGL.so.1.5.08004
libgl1-nvidia-glx: /usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.1
libgl1-nvidia-legacy-173xx-glx: /usr/lib/x86_64-linux-gnu/nvidia/legacy-173xx/libGL.so.1
libgl1-nvidia-legacy-173xx-glx: /usr/lib/x86_64-linux-gnu/nvidia/legacy-173xx/libGL.so.173.14.35
libgl1-nvidia-legacy-96xx-glx: /usr/lib/x86_64-linux-gnu/nvidia/legacy-96xx/libGL.so.1

$ sudo aptitude install libgl1-nvidia-glx:i386
The following NEW packages will be installed:
  libgl1-nvidia-glx:i386 libx11-6:i386{a} libxau6:i386{a} libxcb1:i386{a} libxdmcp6:i386{a} libxext6:i386{a} libxv1:i386{a}
  libxvmc1:i386{ab}
0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,436 kB/7,498 kB of archives. After unpacking 33.9 MB will be used.
The following packages have unmet dependencies:
 libxvmc1 : Conflicts: libxvmc1:i386 but 2:1.0.7-1 is to be installed.
 libxvmc1:i386 : Conflicts: libxvmc1 but 2:1.0.7-1 is installed.
The following actions will resolve these dependencies:

      Remove the following packages:                       
1)      2mandvd                                             
2)      devede                                             
3)      libgl1-nvidia-glx                                   
4)      libxvmc1                                           
5)      mplayer                                             
6)      nvidia-glx                                         
7)      xserver-xorg-video-all                             
8)      xserver-xorg-video-intel                           
9)      xserver-xorg-video-nvidia                           
10)     xserver-xorg-video-openchrome                       

      Leave the following dependencies unresolved:         
11)     mplayer-skin-blue recommends mplayer               
12)     nvidia-settings recommends libgl1-nvidia-glx       
13)     nvidia-xconfig recommends libgl1-nvidia-glx-any     
14)     nvidia-kernel-dkms recommends nvidia-glx (>= 304.48)


Accept this solution? [Y/n/q/?] q


Not sure how to proceed for here as I don't really want to remove X.
Cwmwd24
Level 1
Level 1
 
Posts: 10
Joined: Sun May 26, 2013 11:42 am

Re: Problem running 32-bit binary on LMDE64

Postby Monsta on Sun Jul 28, 2013 6:49 am

Cwmwd24 wrote:
Code: Select all
The following packages have unmet dependencies:
 libxvmc1 : Conflicts: libxvmc1:i386 but 2:1.0.7-1 is to be installed.
 libxvmc1:i386 : Conflicts: libxvmc1 but 2:1.0.7-1 is installed.

Oh, not again, another library still not ready for multiarch. How did they release Wheezy with all that?

This seems to be an old bug which was discussed here multiple times, for example, here. You can either try some of the suggested solutions or get the updated library straight from Testing (this changelog says the bug has been fixed in version 2:1.0.7-2).

But be careful with the latter solution: you'll have to cherry-pick the updated library for both amd64 and i386 architectures because the package is marked as "Multi-Arch: same".
Monsta
Level 8
Level 8
 
Posts: 2017
Joined: Fri Aug 19, 2011 3:46 am


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 5 guests