[Openal] OpenAL Link problem

Jason Daly jdaly at ist.ucf.edu
Wed Sep 20 19:18:49 PDT 2006


Louis Desjardins wrote:
> Hi
>
> Just to let you know I solved the problem.. I had to copy the openal 
> and alut library files from /usr/local/lib to my /usr/lib/
>
> don't know why it didnt' work originally .. but the helloworld example 
> works now
>
> no idea really why it didnt work in /usr/local/lib though
>
> I got the hint from: 
> http://mail.flightgear.org/pipermail/flightgear-users/2004-November/009570.html 
>
>

Your run-time linker is not looking in /usr/local/lib for libraries.

Try this:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

or

setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH\:/usr/local/lib
(if you're using tcsh or csh)

You can also add /usr/local/lib to your /etc/ld.so.conf file and run 
ldconfig.

--"J"



More information about the Openal mailing list