Richard Fish: > The workaround to this is to use a wrapper such as aoss or > vmware-dsp that fakes out the application when it tries to open > /dev/dsp and uses another audio API instead (alsa for aoss, esd or > artsd for vmware-dsp).
Since vmware-dsp (which is ~amd64) doesn't compile, I have: - emerged alsa-oss - chmod +s /usr/lib/libaoss.so.* - created a script: #!/bin/bash LD_PRELOAD=libaoss.so exec /opt/vmware/workstation/bin/vmware & Now: i) if I run the script as myself, sound doesn't work and I get ERROR: ld.so: object 'libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. I get the same result if I run "aoss vmware". As to ldd /usr/lib/libaoss.so.0.0.0: libalsatoss.so.0 => /usr/lib/libalsatoss.so.0 (0x00002b09ff97f000) libc.so.6 => /lib/libc.so.6 (0x00002b09ffa89000) libasound.so.2 => /usr/lib/libasound.so.2 (0x00002b09ffcb4000) libm.so.6 => /lib/libm.so.6 (0x00002b09ffe8b000) libdl.so.2 => /lib/libdl.so.2 (0x00002b09fffe0000) libpthread.so.0 => /lib/libpthread.so.0 (0x00002b0a000e4000) /lib64/ld-linux-x86-64.so.2 (0x0000555555554000) ii) if I run the script as root, sound works! So, it looks like a matter of permissions, but I can't guess what I should change. I hope that you can ;-) Cheers Sergio -- gentoo-user@gentoo.org mailing list