Lee Begg wrote:
You might need to set LD_LIBARAY_PATH before running your program to point it at the correct directory with the .so file.
I've done this, but it may not be the cleanest method.
The reason it links to libopenal.so.0 is because libopenal.so.1 will *not* be compatible, while also allowing multiple library versions to be installed at the same time. If you want your program to work on all distros, etc, then you need to static link the library into the program, or build one version for each distro linking against the correct library.
Hmmm... I hadn't thought about that. Now I have a different question: how much do Linux users actually care about programs they get from outside their distro's repository (in the case of distros with package managers) including all or most of its dependencies? I would rather get whatever libraries a program needs myself. What do other people here think?
-Aidan
