Faltan bibliotecas al actualizar a PostGIS 2.1 y PostgreSQL 9.3.1 utilizando homebrew
En el proceso de actualizar mi PostgreSQL de la versión 9.2.4 a la 9.3.1 (a través de homebrew en OS X) me encontré con un problema extraño. Estos son los pasos que tomé hasta ahora.
PostgreSQL, PostGIS y las bibliotecas requeridas instaladas (sin errores)correrinitdb
en la nueva base de datosdetuvo ambos servidorescorriendopg_upgrade
pg_upgrade
realiza las comprobaciones necesarias, crea volcados del clúster anterior, pero al importar en el nuevo clúster obtengo el siguiente error:
> ./pg_upgrade -b /usr/local/Cellar/postgresql/9.2.4/bin/ -B /usr/local/Cellar/postgresql/9.3.1/bin -d /usr/local/var/postgres/ -D /usr/local/var/postgres9.3.1 -u postgres
Performing Consistency Checks
-----------------------------
Checking cluster versions ok
Checking database user is a superuser ok
Checking for prepared transactions ok
Checking for reg* system OID user data types ok
Checking for contrib/isn with bigint-passing mismatch ok
Creating dump of global objects ok
Creating dump of database schemas
ok
Checking for presence of required libraries fatal
Your installation references loadable libraries that are missing from the
new installation. You can add these libraries to the new installation,
or remove the functions using them from the old installation. A list of
problem libraries is in the file:
loadable_libraries.txt
Failure, exiting
Parece que PostgreSQL 9.3.1 intenta utilizar PostGIS 2.0, que no es compatible
Could not load library "$libdir/postgis-2.0"
ERROR: could not access file "$libdir/postgis-2.0": No such file or directory
Could not load library "$libdir/rtpostgis-2.0"
ERROR: could not access file "$libdir/rtpostgis-2.0": No such file or directory
¿Alguien se ha topado con el mismo problema?