[postgis-users] ERROR: could not access file "$libdir/postgis-1.5"

Sergey a_s_y at sama.ru
Thu Sep 6 23:45:02 PDT 2012


On Wednesday 05 September 2012, Sergey wrote:

> > > ERROR: could not access file "$libdir/postgis-1.5": No such file or directory
> > > SQL state: 58P01
 
I attempted to change $libdir to hardcoded path in postgis.sql and create symlink
to postgis-1.5.so just in case. It did not help:

$ ls /usr/lib/pgsql/postgis-1.5*
/usr/lib/pgsql/postgis-1.5  /usr/lib/pgsql/postgis-1.5.so
-bash-3.2$ ls -l /usr/lib/pgsql/postgis-1.5*
lrwxrwxrwx 1 root root     14 Sep  6 11:02 /usr/lib/pgsql/postgis-1.5 -> postgis-1.5.so
-rw-r--r-- 1 root root 541888 Apr 19 20:39 /usr/lib/pgsql/postgis-1.5.so

$ psql -f /usr/share/pgsql/contrib/postgis-1.5/postgis.sql -d noc
SET
BEGIN
psql:/usr/share/pgsql/contrib/postgis-1.5/postgis.sql:59: ERROR:  could not access file "/usr/lib/pgsql/postgis-1.5": No such file or directory
psql:/usr/share/pgsql/contrib/postgis-1.5/postgis.sql:65: ERROR:  current transaction is aborted, commands ignored until end of transaction block
<...>

-- 
Regards,
Sergey



More information about the postgis-users mailing list