[postgis-users] ERROR: could not access file "$libdir/postgis-2.2": No such file or directory

Błażej Targaczewski targaczewski.b at gmail.com
Sun Feb 14 12:13:12 PST 2016


Please, help me :-)

problem with PostgreSQL/postgis on Debian Wheezy

Hello. I have problem with libdir.

I installed PostgreSQL 9.5 on Debian Wheezy and the next i installed
postgis 2.2.

Next steps:
su – postgres- Login on serwer like person "postgis".

createdb template_postgis - Create empty database template_postgis.

createlang plpgsql template_postgis - add lang -  plpgsql.

and - when I try doing saomething like that (down):
psql -d template_postgis -f
/usr/share/postgresql/9.5/contrib/postgis-2.2/postgis.sql

i have error :-(

SET
BEGIN
DO
CREATE FUNCTION
psql:/usr/share/postgresql/9.5/contrib/postgis-2.2/postgis.sql:83: ERROR:
could not access file "$libdir/postgis-2.2": No such file or directory

and many, many Errors like this:

psql:/usr/share/postgresql/9.5/contrib/postgis-2.2/postgis.sql:88: ERROR:
current transaction is aborted, commands ignored until end of transaction
block


What i wrong doing ? May You help me ?

Blazej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20160214/ba2d09dc/attachment.html>


More information about the postgis-users mailing list