Jon Berndt writes:
> Still can't get through the build process with Flightgear.  SimGear built,
> and I do have the library in question (libsgmath.a) in /usr/local/lib), but
> I still get this:
> 
> Making all in tests
> make[1]: Entering directory `/home/Jon/src/FlightGear/tests'
> g++     -o test-up.exe  test-up.o -lsgmath -lsgdebug -lplibsg -lplibul
> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
> cannot find -lsgmath
> collect2: ld returned 1 exit status

It *appears* that g++ isn't searching /usr/local/lib automatically for
libraries.  You might want to try configuring FlightGear with
something like:

    LDFLAGS="-L/usr/local/lib" ./configure

That's a can of worms where differnet people think different things
about /usr/local and it cause some grief to the end users.

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    curt 'at' me.umn.edu             curt 'at' flightgear.org
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

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

Reply via email to