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?
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users