PostgreSQLをバージョン9.2.4から9.3.1(OS Xのhomebrew経由)にアップグレードする過程で、私は奇妙な問題に遭遇しました。これらは、私は、PostgreSQL、PostGISのと必要なライブラリがインストールされ(エラーなし) homebrewを使用してPostGIS 2.1とPostgreSQL 9.3.1にアップグレードするときにライブラリが見つからない
initdb
pg_upgrade
- を取った手順です
pg_upgrade
は必要なチェックを行い、古いクラスタのダンプを作成しますが、新しいクラスタにインポートするときに次のエラーが発生します。> ./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
のPostgreSQL 9.3.1は互換性がないのPostGIS 2.0を使用しようとするものの
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
は誰もが同じ問題に遭遇したようにそれが表示されますか?
postgresqlとpostgisの新規インストールで同じ問題が発生しています。あなたはそれを並べ替えることができましたか? –
残念ながら、私はPostGIS 2.0とPostgreSQL 9.2.3に戻っていました – poezn