[geos-devel] Compiling GEOS on Centos 5.5

mightytater at gmail.com mightytater at gmail.com
Wed Aug 25 21:44:02 EDT 2010

Hey All,

I'm trying to get geos running on Centos 5.5, and can't get it to compile.  
I'm not sure what I need to do to fix it, but here's the last lines of make  

Making all in capi
make[1]: Entering directory `/usr/local/src/geos-3.2.2/capi'
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -DGEOS_INLINE -pedantic  
-Wall -ansi -Wno-long-long -ffloat-store -version-info 7:2:6 -no-undefined  
-o libgeos_c.la -rpath /usr/local/lib libgeos_c_la-geos_c.lo  
libgeos_c_la-geos_ts_c .lo ../source/libgeos.la
libtool: link: g++ -shared -nostdlib  
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../. ./../../lib64/crti.o  
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtbeginS.o .libs/l  
ibgeos_c_la-geos_c.o .libs/libgeos_c_la-geos_ts_c.o -Wl,-rpath  
-Wl,/usr/local/ src/geos-3.2.2/source/.libs -Wl,-rpath  
-Wl,/usr/local/lib ../source/.libs/libgeo s.so  
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux  
/4.1.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm  
-lc -l gcc_s /usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtendS.o  
/usr/lib/gcc/x86_64-redha t-linux/4.1.2/../../../../lib64/crtn.o  
-Wl,-soname -Wl,libgeos_c.so.1 -o .lib s/libgeos_c.so.1.6.2
g++: ../source/.libs/libgeos.so: No such file or directory
make[1]: *** [libgeos_c.la] Error 1
make[1]: Leaving directory `/usr/local/src/geos-3.2.2/capi'
make: *** [all-recursive] Error 1

I look in in ../source/.libs/libgeos.so It links to libgeos-3.2.2.so, which  
is not there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20100826/fd1c174f/attachment.html

More information about the geos-devel mailing list