Andy Ross wrote:
Josh Babcock wrote:

I just did my first recompile in a few months and everything seemed to
build fine including openal, but at runtime I get this:

fgfs: error while loading shared libraries: libopenal.so.0: cannot
  open shared object file: No such file or directory

$ ls -l /usr/local/lib/*openal*
lrwxrwxrwx    1 root     root           33 May  6 17:09
   /usr/local/lib/libopenal.so
   -> /usr/local/lib/libopenal.so.0.0.7

Anybody know what I did wrong?


Many distributions don't include /usr/local/lib on the default shared
library path.  Try setting it via an environment variable:

export LD_LIBRARY_PATH=/usr/local/lib

And see if that fixes the problem.  If it does, then consider adding
"/usr/local/lib" as a line in /etc/ld.so.conf (the global list of
directories to search).  Then you either need to run "ldconfig" or
reboot to refresh the cache.

Andy

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Thanks, I knew I was missing something simple.

Josh

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to