How to emulate OSS with ALSA?



Hi, dudes! I've got a huge problem and exepect you help me to solve it:) So, I've installed a game recently and there's no sound. I looked for some information and found that the problem is that the game needs OSS but I have only ALSA. They adviced me to use oss-wrapper - alsa-oss. I tried to run # aoss ./gorky18. Sound hadn't appeared. Now I don't know what to do. In the terminal it writes:
ERROR: object '/usr/lib/x86_64-linux-gnu/' from LD_PRELOAD cannot be preloaded: ignored.
SNDCTL_DSP_GETFMTS: Inappropriate ioctl for device
SoundInit: Mix Error: Couldn't get audio format list.
What to do?



/usr/lib/x86_64-linux-gnu/' doesn't exist. For me, running dpkg -S returns /usr/lib/
So, I would do:
export LD_PRELOAD='/usr/lib/'

If that doesn't work do dpkg -S and replace /usr/lib/ with the (shortest possible) one from dpkg -S...

If it works, I recommend putting
export LD_PRELOAD='/usr/lib/'
in your ~/.bashrc
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit:

Members online