In Ubuntu, i try to run rake db:setup
to install a Rails application, but i have several times this message ERROR: could not access file “$libdir/postgis-1.5”: No such file
Finding in the files, i found the file structure.sql, have that ubication, for example
CREATE FUNCTION box3d_extent_out(box3d_extent) RETURNS cstring
LANGUAGE c IMMUTABLE STRICT
AS '$libdir/postgis-1.5', 'BOX3D_extent_out';
I dont know if this error is because of the installed version of postgres and postgis. For the installation, i follow this page
http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204
¿What is the version for postgres and postgis in this case? I'm confused about the installation of postgres and postgis, ¿What is the best way to install postgres and postgis in ubuntu 13.04?