Re: genapts and libnurbsf.so.0

Cameron Moore <[email protected]>
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
* [email protected] (Curt Olson) [2004.02.06 09:19]:
> Erik Hofman wrote:
> > Glenn McCord wrote:
> > 
> >> Gidday. I'm running into difficulties when following through your 
> >> scenery tutorial on the terragear website. At the part where it says:
> >> $ cd airports
> >> $ genapts --input=default.apt.gz --work=../../work/ --min-lon=-80 
> >> --max-lon=-70 --min-lat=40 --max-lat=50
> >>
> >> I get this error:
> >> glenn@upstairs airports $ genapts --input=default.apt.gz 
> >> --work=../../work/ --min-lon=-80 --max-lon=-70 --min-lat=40 --max-lat=50
> >> genapts: error while loading shared libraries: libnurbsf.so.0: cannot 
> >> open shared object file: No such file or directory
> >>
> >> libnurbsf.so.0 exists under /usr/local/lib as a symbolic link pointing 
> >> to libnurbsf.so.0.1.0 in the dame directory. Moving libnurbs.so.0 
> >> manually from it's source dir into /usr/local/lib doesn't do anything.
> >>
> >> Another question. I don't have a Airports/default.apt.gz but I do have 
> >> a runways.dat.gz. I'm assuming they are the same thing. Anyway, this 
> >> isn't the source of the problem.
> >>
> >> Any hints? I've installed the cvs version of Terragear with gpc and 
> >> nurbs++ with it. Oh, and I originally sent this message to the wrong 
> >> list, sorry.
> > 
> > 
> > 
> > Ypu have to make sure the library is actually found. Make sure 
> > /usr/local/lib is in your /etc/ld.so.conf
> 
> And then (at least on linux) run ldconfig after changing /etc/ld.so.conf

One last tidbit:  to see if all libs are found for a given binary run
`ldd /path/to/executable`.
-- 
Cameron Moore
[ Why is it that doctors call what they do "practice"? ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.