PostGIS: could not access file "$libdir/postgis-1.5"

Rainer Müller raimue at macports.org
Tue Dec 21 01:45:38 PST 2010


Hello,

On 2010-12-21 08:18 , Guyren G Howe wrote:
> http://postgis DOT darwinports DOT com/ says:

Please do not refer to this domain,
http://trac.macports.org/wiki/DarwinPortsFraud

>       %  man postgis
>       %  apropos postgis
>       %  which postgis
>       %  locate postgis

On this site, these instructions are generic and are reported for each
and every port. They are useless.

> [...]
> 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?

I am not using PostGIS, but I would look at the official installation
instructions for PostGIS here:
http://postgis.refractions.net/docs/ch02.html

Did you set up a database already? (createdb)
Did you add PL/pgSQL language? (createlang)

Rainer


More information about the macports-users mailing list