[geos-devel] geos compilation problems

Nicole Faust n_faust at informatik.uni-kl.de
Tue Oct 26 03:22:08 EDT 2004


Hi group!

I have inastalled PostgreSQL (version 7.4.5) and want to install PostGIS
(version 0.9.0).
But PostGIS needs the geos library. So I downloaded the geos source-files
and started to compile it.

(The versions of PostgreSQL and PostGIS are compatible with the downloaded
geos version.
The directory with the source code is:
"/home/n_faust/software/software-source/geos-2.0.1/".
The directory for the installation of geos is:
"/home/n_faust/software/software/geos-2.0.1/".
And the OS of the computer where I would geos install is Sun Solaris version 5.9.)

First I got the following error message during compilation:
(I don't know the exact error message that the make command had shown.)

IsValidOp.loT    no such file or directory

So I changed the file name
"/home/n_faust/software/software-source/geos-2.0.1/source/geom/IsValidOp.loT"
to
"/home/n_faust/software/software-source/geos-2.0.1/source/geom/IsValidOp.lo"
and started compilation again. Now it worked... but only until the
following error message occured:

make[2]: Entering directory
`/home/n_faust/software/software-source/geos-2.0.1/source/bigtest'
/bin/bash ../../libtool --mode=link g++  -g -O2   -o TestSweepLineSpeed
TestSweepLineSpeed.o GeometryTestFactory.o ../geom/libgeos.la ../geom/libgeos.la
g++ -g -O2 -o .libs/TestSweepLineSpeed TestSweepLineSpeed.o GeometryTestFactory.o  ../geom/.libs/libgeos.so
/usr/local/lib/libstdc++.so
-L/usr2/SOURCES/S9/gcc-3.4.1/objdir/sparc-sun-solaris2.9/libstdc++-v3/src
-L/usr2/SOURCES/S9/gcc-3.4.1/objdir/sparc-sun-solaris2.9/libstdc++-v3/src/.libs
-L/usr2/SOURCES/S9/gcc-3.4.1/objdir/gcc -L/usr/local/lib -Wl,-R
-Wl,/home/n_faust/software/geos-2.0.1/lib -Wl,-R -Wl,/usr/local/lib
ld: warning: file /usr/local/lib/libstdc++.so: attempted multiple
inclusion of file
Undefined                       first referenced
 symbol                             in file
geos::IsValidOp::IsValidOp(geos::Geometry const*)../geom/.libs/libgeos.so
geos::IsValidOp::~IsValidOp()       ../geom/.libs/libgeos.so
geos::IsValidOp::findPtNotNode(geos::CoordinateSequence const*,
geos::LinearRing const*, geos::GeometryGraph*)../geom/.libs/libgeos.so
geos::IsValidOp::isValid()          ../geom/.libs/libgeos.so
ld: fatal: Symbol referencing errors. No output written to .libs/TestSweepLineSpeed
collect2: ld returned 1 exit status
make[2]: *** [TestSweepLineSpeed] Error 1
make[2]: Leaving directory
`/home/n_faust/software/software-source/geos-2.0.1/source/bigtest'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/n_faust/software/software-source/geos-2.0.1/source'
make: *** [all-recursive] Error 1


Can anyone help me, please?
Thank you in advance!


Greetings,
      Nicole Faust




More information about the geos-devel mailing list