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

Luigi Castro Cardeles luigi.cardeles at gmail.com
Thu Jun 19 11:16:29 PDT 2008


hi,

are you using SELinux? maybe this is blocking access to some libraries. try
to run ldconfig and see if some brite star show up at your uper bar. maybe
you have to create some policy.

best regards,


2008/6/19 Bill Thoen <bthoen at gisnet.com>:

> 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
>



-- 
Luigi Castro Cardeles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080619/eeddf64c/attachment.html>


More information about the postgis-users mailing list