1.4rc1: Audio::OpenALDLLInit uses wrong filename
by Kenneth Porter · in Torque Game Engine · 07/14/2005 (3:28 pm) · 3 replies
This procedure in x86UNIXOpenAL.cc should be loading libopenal.so.0, not libopenal.so. For more info, see the GCC HOWTO section on linking and how shared library version numbers work:
www.faqs.org/docs/Linux-HOWTO/GCC-HOWTO.html#AEN575
The name without the ".0" is what you link against at compile time. It's equivalent to an import library on Windows. The ".0" is what you link against at runtime.
www.faqs.org/docs/Linux-HOWTO/GCC-HOWTO.html#AEN575
The name without the ".0" is what you link against at compile time. It's equivalent to an import library on Windows. The ".0" is what you link against at runtime.
About the author
#2
07/15/2005 (9:47 am)
I actually submitted a patch to fix this last October, but it hasn't made it's way into cvs yet. My code actually did a loop that would first try to load libopenal.so.0 and then libopenal.so and looped over the different lookup directories that you were originally looking in.
Associate Kyle Carter