[postgis-users] error with a $libdir variable defined in postgis.sql

Andrea Peri 2007 aperi2007 at gmail.com
Mon Oct 11 15:22:45 PDT 2010



>hi all,
>
>i have downloaded the binaries for windows 32bit : postgis-pg90-binaries-2.0svn
>
>when i proceed to run the batch file, this error appears and the whole
>process goes wrong:
>
>SET
>BEGIN
>psql:share/contrib/postgis-2.0/postgis.sql:59: ERROR:  could not
>access file "$libdir/postgis-2.0": No such file or directory
>
>any help would be appreciated
>
>--
>Victor

Have you modify the batch file "makepostgisdb.bat" for your configuration ?

Is necessary to set two variables with the right paths,

like this:

set PGBIN=C:\Program Files (x86)\PostgreSQL\9.0\bin\
set PGLIB=C:\Program Files (x86)\PostgreSQL\9.0\lib\

Regards,

Andrea Peri





More information about the postgis-users mailing list