--- Mike Rawlins <[EMAIL PROTECTED]> wrote:

> 
> --- Mike Rawlins <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > --- Martin Spott <[EMAIL PROTECTED]> wrote:
> > 
> > > Hi Mike,
> > > 
> > > Mike Rawlins wrote:
> > Running fgfs, I got
> > errors about my freeglut 2.4.0 that I've read
> about;
> > now I've installed and compiled CVS freeglut. 
> > Splash
> > screen starts, but then at Initializing
> Subsystems:
> > 
> >    There was an error opening the ALC device
> > Failed to load wav file:
> >  at The operation was invalid in the current ALUT
> > state
> > Error loading MK VIII sound sample
> > "application-data-base-failed.wav": Failed to load
> > wav
> > file:
> >  at The operation was invalid in the current ALUT
> > state
> > freeglut
> > (/usr/local/FlightGear-0.9.10/src/Main/fgfs):
> > Failed to create cursor
> 
> I've uninstalled the freeglut-2.4.0 that came with
> distro. Compiled CVS freeglut, set configure
> --prefix=/usr/local.  On first try, default
> ./configure had put library files in subdirectory of
> /opt/freeglut/. 
> 
> $ fgfs: error while loading shared libraries:
> library files: cannot open shared object file: No
> such
> file or directory
> 
> Is FG not seeing the files ???

Success!!!   My clue came by using ldd command:

[EMAIL PROTECTED] ~]# ldd $FG_ROOT/src/Main/fgfs
        linux-gate.so.1 =>  (0x00e0c000)
        libpthread.so.0 => /lib/libpthread.so.0
(0x4cae2000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4c93f000)
        libglut.so.3 => not found


I did not know that FG was expecting libraries to be
in /usr/lib/.  I recompiled freeglut to place files
there, rather that /usr/local/lib (or other odd
places) and FG started right up.

Mike


 
____________________________________________________________________________________
Access over 1 million songs - Yahoo! Music Unlimited 
(http://music.yahoo.com/unlimited)


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to