Re: libaoss.so fails preloading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Derek Wickersham wrote:
> My system:
> Linux ben 2.6.23.16-1mdv #1 Mon Feb 11 07:24:40 EST 2008 x86_64 AMD Athlon(tm) 
> 64 X2 Dual Core Processor 4400+ GNU/Linux
> 
> # lsmod | grep snd
> snd_seq_dummy           4740  0
> snd_seq_oss            35024  0
> snd_seq_midi_event      8840  1 snd_seq_oss
> snd_seq                56120  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
> snd_seq_device          9756  3 snd_seq_dummy,snd_seq_oss,snd_seq
> snd_pcm_oss            43696  0
> snd_mixer_oss          17800  1 snd_pcm_oss
> snd_hda_intel         412440  9
> snd_pcm                86448  4 snd_pcm_oss,snd_hda_intel
> snd_timer              26656  4 snd_seq,snd_pcm
> snd_page_alloc         12048  2 snd_hda_intel,snd_pcm
> snd_hwdep              11280  1 snd_hda_intel
> snd                    66856  24 
> snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
> soundcore               9360  1 snd
> 
> I have compiled and installed ALSA 1.0.16 and the OSS compatibility library 
> 1.0.15.  Sound is working fine in KDE.  However if I run /usr/bin/aoss to 
> launch firefox I get this:
> 
> ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be 
> preloaded: ignored.
> 
> I tried hard-coding the path in the aoss script to /usr/lib/libaoss.so.0.0.0 
> but it didn't help:
> 
> ERROR: ld.so: object '/usr/lib/libaoss.so.0.0.0' from LD_PRELOAD cannot be 
> preloaded: ignored.
> 
> I am not seeing a permissions problem on the files:
> [root@ben lib]# ls -al libaoss*
> -rw-r--r-- 1 root root 77154 2008-04-28 16:35 libaoss.a
> -rwxr-xr-x 1 root root   853 2008-04-28 16:35 libaoss.la*
> lrwxrwxrwx 1 root root    16 2008-04-28 16:35 libaoss.so -> libaoss.so.0.0.0*
> lrwxrwxrwx 1 root root    16 2008-04-28 16:35 libaoss.so.0 -> 
> libaoss.so.0.0.0*
> -rwxr-xr-x 1 root root 59452 2008-04-28 16:35 libaoss.so.0.0.0*
> 
> What is the problem with preloading libaoss?

My guess is that you don't have the 64 bit libaoss.so installed - which 
will be at /usr/lib64/libaoss.so (or you have the 64 libaoss.so in /usr/lib)

Even if your firefox binary is 32 bit, the wrapper scripts will be run 
through a 64 bit shell, so it is probably the script shell that is 
complaining it can't find /usr/lib64/libaoss.so ('$LIB' gets expanded by 
  ld.so to be 'lib' or 'lib64' depending on the binary being linked)

James Pearson

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux