Re:OpenAL createContext fails under Linux (AMD64)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re:OpenAL createContext fails under Linux (AMD64)

Adam King
Finally figured this out - so just incase anyone else has the same
problem and is searching the archives, I'm just sending off my reply.
 The prebuilt Croquet binary is expecting the 32bit version of openal,
whereas I had the 64bit versions in stalled.  As I'm running gentoo,
all I had to do was install the 32bit emulation version of openal.  I
found this library in the sdl 32bit emulation library, so just do a:

  emerge  emul-linux-x86-sdl

and everything started working.

  Adam

On 4/25/06, Adam King <[hidden email]> wrote:

> Hi:
>
>    I am able to run the Demo world without any issue, but most of the
> other morphs will not start and fail with a "Error: Unable to find
> function address"
> (debug log attached ).   The console message states:
>
>  ioLoadModule(/usr/X11R6/lib/libopenal.so):
>   /usr/X11R6/lib/libopenal.so: cannot open shared object file: No such
> file or directory
>
> but the library is there:
>
> aking@trinity ~/Croquet_SDK_1.0_beta $ ls -al /usr/X11R6/lib/libopenal.so*
> lrwxrwxrwx 1 root root     18 Apr 21 18:35 /usr/X11R6/lib/libopenal.so
> -> libopenal.so.0.0.8
> lrwxrwxrwx 1 root root     18 Apr 21 18:35
> /usr/X11R6/lib/libopenal.so.0 -> libopenal.so.0.0.8
> -rwxr-xr-x 1 root root 293632 Apr 21 18:35 /usr/X11R6/lib/libopenal.so.0.0.8
> aking@trinity ~/Croquet_SDK_1.0_beta $
>
> Also, ldconfig shows it as well:
>  trinity linux # ldconfig -v | grep openal
>           libopenal.so.0 -> libopenal.so.0.0.8
>
> I have used OpenAL for various other programs, so I'm pretty sure it
> works.  Maybe it
> has something to do with running 64bit linux with a 32bit Squeak VM?
>
> System:
>
>   Gentoo 2006.0 64bit ( synced yesterday )
>   AMD Opteron 270  ( dual core )
>   Nvidia 6600GT card
>   2Gb RAM
>
> Any suggestions for things to try?  Thanks,
>
>     Adam King
>
>
>