Ticket #975 (closed defect: fixed)
aoss doesn't run
| Reported by: | tim_abell | Owned by: | ainulindale |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | SHR Image | Version: | SHR-testing |
| Keywords: | Cc: |
Description
root@om-gta02 /media/card $ aoss flite -t 'hello'
ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored.
oss_audio: failed to open audio device /dev/dsp
Change History
comment:2 Changed 2 years ago by tim_abell
for the record ldconfig didn't seem to help, but then i have no idea what i'm doing :-)
root@om-gta02 /media/card $ ldconfig
root@om-gta02 /media/card $ ls -l /usr/lib/libaoss.so.*
lrwxrwxrwx 1 root root 16 Feb 21 22:09 /usr/lib/libaoss.so.0 -> libaoss.so.0.0.0
-rwxr-xr-x 1 root root 12504 Dec 7 18:27 /usr/lib/libaoss.so.0.0.0
comment:3 Changed 23 months ago by Heinervdm
It has to be:
LD_PRELOAD=${exec_prefix}/\${LIB}/libaoss.so.0${LD_PRELOAD:+:$LD_PRELOAD} exec "$@"
I will try to fix this now.
comment:4 Changed 23 months ago by Heinervdm
Fixed with this commit: http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=95d884b7883c974334747b9adab8274140d056dd
But i don't know when it will hit the feeds.
comment:5 Changed 23 months ago by Heinervdm
- Status changed from new to closed
- Resolution set to fixed in unstable
comment:6 Changed 23 months ago by spaetz
- Status changed from closed to reopened
- Resolution fixed in unstable deleted
- Milestone set to MS1
Ported to shr-testing.

in file /usr/bin/aoss
line
should probably read
based on:
root@om-gta02 /media/card $ opkg files alsa-oss
Package alsa-oss (1.0.17-r0.4) is installed on root and has the following files:
/usr/lib/libaoss.so.0.0.0
/usr/lib/libaoss.so.0
/usr/lib/libalsatoss.so.0
/usr/lib/libalsatoss.so.0.0.0
/usr/bin/aoss