[postgis-users] error running postgis.sql

Obe, Regina DND\MIS robe.dnd at ci.boston.ma.us
Wed Aug 20 05:24:57 PDT 2003

On cygwin - I've never been successful in getting that to work so I just
change $libdir in the postgis.sql with the path to the lib folder e.g.


-----Original Message-----
From: Chris Faulkner [mailto:chrisf at oramap.com]
Sent: Wednesday, August 20, 2003 8:14 AM
To: PostGIS Users Discussion
Subject: [postgis-users] error running postgis.sql


I have successfully built, installed postgres 7.3.2 and postgis 0.7.5. I am
using the template1 database, createlang worked OK.

When I run postgis.sql, I get this

ERROR - stat failed on file '$libdir/libpostgis... '

when it is running the first 2d histogram CREATE FUNCTION command in

The shared library it wants is installed, within a location on the
LD_LIBRARY_PATH when I started postmaster and psql.

Is $libdir a built-in variable. How and when is it set ?


Chris Faulkner

postgis-users mailing list
postgis-users at postgis.refractions.net

More information about the postgis-users mailing list