PostGIS: could not access file "$libdir/postgis-1.5"
Guyren G Howe
gisborne at emailuser.net
Mon Dec 20 23:18:04 PST 2010
I have Postgres 9 installed via MacPorts and working fine. And
port install postgis
worked fine, too.
But the instructions from there to install Postgis into my database are full of fail.
http://postgis.darwinports.com/ says:
% man postgis
% apropos postgis
% which postgis
% locate postgis
But:
$ postgis
-bash: postgis: command not found
Fine. I track down where it’s installed, look at the README, and it says:
psql -d yourdatabase -f postgis.sql
psql -d yourdatabase -f postgis_comments.sql
psql -d yourdatabase -f spatial_ref_sys.sql
But:
n$ psql -U <redacted> -d <redacted> -f /opt/local/var/macports/software/postgis/1.5.2_1+postgresql90/opt/local/share/postgresql90/contrib/postgis-1.5/postgis.sql
SET
BEGIN
psql:/opt/local/var/macports/software/postgis/1.5.2_1+postgresql90/opt/local/share/postgresql90/contrib/postgis-1.5/postgis.sql:59: ERROR: could not access file "$libdir/postgis-1.5": No such file or directory
Anyone know how to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101220/afb49357/attachment.html>
More information about the macports-users
mailing list