[ELGIS] Dependencies on *.la files

Micha Silver micha at arava.co.il
Sat Jun 4 08:52:07 EDT 2011


I'd like to try to build rpms for spatialite on EL 6.0. The software 
requires geos and proj, and the source tarball requires those libtool 
files *.la. Specificly libgeos_c.la and libproj.la. When I try to run 
make, it errors at:


Making all in headers
make[1]: Entering directory 
`/home/micha/Downloads/spatialite/libspatialite-amalgamation-2.3.1/headers'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/micha/Downloads/spatialite/libspatialite-amalgamation-2.3.1/headers'
make[1]: Entering directory 
`/home/micha/Downloads/spatialite/libspatialite-amalgamation-2.3.1'
/bin/sh ./libtool --tag=CC   --mode=link gcc -D_LARGE_FILE=1 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -DSQLITE_ENABLE_RTREE=1    
-g -O2 -version-info 2:3:1  -o libspatialite.la -rpath /usr/local/lib 
spatialite.lo sqlite3.lo /usr/lib64/libgeos_c.la /usr/lib64/libgeos.la 
/usr/local/lib/libproj.la -lm -lstdc++ -lpthread -ldl
libtool: link: cannot find the library `/usr/lib64/libgeos_c.la' or 
unhandled argument `/usr/lib64/libgeos_c.la'
make[1]: *** [libspatialite.la] Error 1
make[1]: Leaving directory 
`/home/micha/Downloads/spatialite/libspatialite-amalgamation-2.3.1'
make: *** [all-recursive] Error 1

According to the Fedora packaging guidelines  these files are no longer 
produced. What's the best/recommended way to work around this ?

Thanks,

Micha

-- 
Micha Silver
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il



More information about the el mailing list