[ELGIS] Dependencies on *.la files

Volker Fröhlich volker27 at gmx.at
Sat Jun 4 10:31:59 EDT 2011


Dear Micha!

Rebuild the Fedora package. It is a 2.4 beta though. I assume you could easily 
adapt it to 2.3, if necessary.

Volker

Am Samstag 04 Juni 2011, 14:52:07 schrieb Micha Silver:
> 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



More information about the el mailing list