Issues running 32-bit apps on 64-bit (Opera, Skype)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Issues running 32-bit apps on 64-bit (Opera, Skype)
I'm trying to get Skype working. I set up a directory called /opt/lib32 where I put all the necessary libraries (from ldd skype) copied from a 32-bit Arch Linux. I'm running 64-bit Arch Linux. I load skype like this: LD_LIBRARY_PATH=/opt/lib32 linux32 skype. Loads fine, everything looks good, except alsa seems not to work:
ALSA lib pcm_direct.c:1467snd_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
ALSA works in all other cases (I'm listening to mpd right now on it).
Opera likewise loads, but can't seem to load any pages. Everything else works fine, notes etc. Just seems not to load any pages, and doesn't give any missing library messages as it was for a while before I put everything needed into /opt/lib32.
Any help greatly appreciated, or let me know if I can give any more information.
And I had to install the alsa 32-bit libraries, like I said. If it tries to access any 64-bit libraries it won't work at all, not just be less stable. In this case the issue is Skype's code apparently.
But Opera is still not loading any pages. And Opera is only 32-bit, which is why I'm having trouble running it in the first place. I have all the libraries afaik, and it seems to load fine. When you're missing a library it yells at you that it's the wrong ELF type (64-bit instead of 32-bit), but that's not happening to me.
[root@mymachine ~]# mplayer !$
mplayer When\ Smokey\ Sings.mp3
MPlayer 1.0pre8-rpm.livna.org-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (Family: 15, Model: 4, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing When Smokey Sings.mp3.
Audio file file format detected.
Clip info:
Title: When Smokey Sings
Artist: ABC
Album: ABC - Look Of Love: The Very B
Year: 2001
Comment:
Track: 4
Genre: Other
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
alsa-init: using device default
alsa-lib: pcm_direct.c:1587:(snd_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
alsa-init: playback open error: Invalid argument
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)
[root@mymachine ~]# alsa
alsacard alsaconf alsactl alsalisp alsamixer alsamixergui alsaunmute
[root@mymachine ~]# alsaplayer
-bash: alsaplayer: command not found
[root@mymachine ~]# groupadd audio
[root@mymachine ~]# mplayer When\ Smokey\ Sings.mp3
MPlayer 1.0pre8-rpm.livna.org-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (Family: 15, Model: 4, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing When Smokey Sings.mp3.
Audio file file format detected.
Clip info:
Title: When Smokey Sings
Artist: ABC
Album: ABC - Look Of Love: The Very B
Year: 2001
Comment:
Track: 4
Genre: Other
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
alsa-init: using device default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Position: 10 %
alsa-uninit: pcm closed0 (06:30.0) 0.3%
Hi. I had same problem. Days ago i tried to solve it but can't. Then reinstall Debian (x86_64). Sound works fine.
To use 32bit programs (like a compiled Mplayer on 32bit machine) then install one by one (copying lib 32bits from other OS) and Mplayer work (with no sound control). It feel like alsa problem.
żDo you find a solution to solve ipc_gid problem? It will be very useful for me.
Have you a nice day.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.