LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-03-2006, 01:50 AM   #1
lydgate
Member
 
Registered: Jun 2005
Location: Fullerton, CA
Distribution: Arch 0.7.1 (laptop) / Slack 10.2 (desktop)
Posts: 41

Rep: Reputation: 15
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.
 
Old 09-04-2006, 01:41 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Install the needed alsa 32-bit libs and it would work better if you used the 32-bit version of Opera also.
 
Old 09-04-2006, 03:20 PM   #3
lydgate
Member
 
Registered: Jun 2005
Location: Fullerton, CA
Distribution: Arch 0.7.1 (laptop) / Slack 10.2 (desktop)
Posts: 41

Original Poster
Rep: Reputation: 15
It turns out that Skype just implements ALSA really badly, hopefully it will be improved since it's only a beta, but I solved it by looking at this:
http://juljas.net/linux/skype/alsa-configuration.html

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.
 
Old 11-24-2006, 08:08 PM   #4
philverb
LQ Newbie
 
Registered: Jul 2003
Posts: 15

Rep: Reputation: 0
It's actually an OS Group issue.

`groupadd audio` will make it go away.

Code:
[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%
 
Old 12-17-2006, 05:45 AM   #5
lydgate
Member
 
Registered: Jun 2005
Location: Fullerton, CA
Distribution: Arch 0.7.1 (laptop) / Slack 10.2 (desktop)
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by philverb
`groupadd audio` will make it go away.
Code:
# groupadd audio
groupadd: group audio exists
 
Old 05-28-2016, 01:57 PM   #6
cesarbergara
Member
 
Registered: Feb 2012
Location: Buenos Aires, Argentina
Distribution: Debian, Suse, Mandrake,
Posts: 92

Rep: Reputation: Disabled
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.
 
  


Reply

Tags
alsa, opera, skype



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit linux - confused about 32 bit apps babysnake Linux - Software 2 08-21-2006 01:43 AM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM
32 bit apps on 64 bit processor khaleel5000 General 12 04-19-2006 07:55 AM
64-bit Apps? Linux31 Fedora 1 06-12-2005 11:01 AM
looking for 64-bit apps sheepdogj15 *BSD 2 12-11-2004 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 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