[postgis-users] Postgis installation - Trouble with 'make check'

Paul Ramsey pramsey at cleverelephant.ca
Fri Jun 20 01:32:55 PDT 2008


What GEOS are you using, Bill? Your PostGIS is mismatched to the GEOS.
Or, at least, *something* is mismatched. Do you have old GEOS libs
hanging around? Old postgis libs? Try really reaming out the system
and ensure that the only things around are your new fresh builds.

P

On Thu, Jun 19, 2008 at 6:59 PM, Bill Thoen <bthoen at gisnet.com> wrote:
> I'm installing PostgreSQL, Proj4, GEOS, PostGIS, GDAL and MapServer on a
> Linux FC 9 system and  so I'm building it all from source code. I got an
> error in the 'make check' step in building PostGIS. Here's the steps I took.
>
> Unpacked the source code into /home/postgres/postgis-1.3.3/ As postgres, I
> ran ./configure with the options I wanted.
>
> ./configure  \
>  --with-pgsql=/usr/local/pgsql/bin/pg_config \
>  --with-geos=/usr/local/bin/geos-config \
>  --with-proj=/usr/local/ \
>  --with-proj-libdir=/usr/local/lib/
>
> (this worked fine)
>
> Then I ran make, which also appeared to work fine.
>
> Then I ran 'make check' and got the following feedback:
>
> make -C regress test
> make[1]: Entering directory `/home/postgres/postgis-1.3.3/regress'
> Creating spatial db postgis_reg
> ERROR:  function postgis_lib_version() does not exist
> LINE 1: select postgis_lib_version()
>              ^
> HINT:  No function matches the given name and argument types. You might need
> to add explicit type casts.
>
> Something went wrong (no postgis installed in postgis_reg).
> For details, check /tmp/pgis_reg_12582/regress_log
>
>
> Looking at the log details, it seems that there's a function missing, and
> this caused the make check step to fail. The log file says:
>
> psql:lwpostgis.sql:3856: ERROR:  could not find function
> "topologypreservesimplify" in file "/usr/local/pgsql/lib/liblwgeom.so"
>
>
> Does anyone here know what went wrong and how I can fix it?
>
> TIA,
> - Bill Thoen
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list