[openal] streaming sounds clicking in 64 bit

Chris Robinson chris.kcat at gmail.com
Mon Mar 3 15:52:02 PST 2008


On Monday 03 March 2008 03:20:48 pm Jason Daly wrote:
> Jarryd Beck wrote:
> > I'm running fedora 7 64 bit, and when I play streamed sounds, I get
> > this horrible clicking noise
> > the whole time it is playing. I've also noticed it in another game
> > which I think uses openal too. It doesn't
> > happen on my 32 bit computer or on windows.
> >
> > Does anyone know if this is a problem with the 64 bit implementation
> > and if maybe openal soft would
> > fix it?
> > How would I use openal soft with fedora? I'm not sure how I would go
> > about replacing distribution files, yum
> > needs to think openal is installed but I won't actually be using the
> > one it supplied.
>
> For now, I'd just recommend doing "yum remove openal" and just
> downloading, compiling, and installing OpenAL-Soft manually.  After
> following the "Installing" instructions on the web site, just do "make",
> and then "make install" (make sure you're root for the "make install"
> step).

The problem with this is that on binary distros, the apps will be linked 
against (or are expecting to dlopen) libopenal.so.0, while OpenAL Soft (and 
the SVN version of the SI) use libopenal.so.1. Plus package managers can be 
pretty.. pedantic about making sure required package dependancies are 
installed.

However, after installing OpenAL Soft (make sure it compiled with ALSA and/or 
OSS support), it should be simple to make a libopenal.so.0 -> libopenal.so.1 
symlink, and tell the package manager that you're providing the openal 
package yourself (I know Gentoo allows you to do this, but I dunno about 
other distros).

You'll probably need to add /usr/local/lib to /etc/ld.so.conf (no idea why it 
isn't default) and run ldconfig, or change OpenAL Soft to install into /usr 
instead of /usr/local. Also make sure the openal package is uninstalled 
before installing OpenAL Soft.


More information about the Openal mailing list