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: 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/
>     -> /usr/local/lib/
> 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/ (the global list of
directories to search).  Then you either need to run "ldconfig" or
reboot to refresh the cache.


Flightgear-devel mailing list

Reply via email to