मैं PostgreSQL 9.1 चल रहा था और मैं PostgreSQL 9.3 करने के लिए उन्नत करने के लिए कोशिश कर रहा हूँ:पोस्टगिस के साथ PostgreSQL को अपग्रेड कैसे करें?
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
loadable_libraries.txt
शामिल हैं::
Could not load library "$libdir/postgis-1.5" ERROR: could not access file "$libdir/postgis-1.5": No such file or directory
यह करने के लिए इसी तरह की है
$ /usr/lib/postgresql/9.3/bin/pg_upgrade -b /usr/lib/postgresql/9.1/bin -B /usr/lib/postgresql/9.3/bin -d /var/lib/postgresql/9.1/main/ -D /var/lib/postgresql/9.3/main/ -O "-c config_file=/etc/postgresql/9.3/main/postgresql.conf" -o "-c config_file=/etc/postgresql/9.1/main/postgresql.conf"
हालांकि इसके साथ विफल रहता है Missing libraries when upgrading to PostGIS 2.1 and PostgreSQL 9.3.1 using homebrew।
मैं Ubuntu चल रहा हूँ और मैं apt-get
का उपयोग कर PostGIS साथ PostgreSQL स्थापित की है।
किसी को भी है कि कामयाब रहे?
मैं कोशिश करता हूँ और किसी भी निर्देशिका '' 'PostGIS-1.5''' नामित पाते हैं और उसके स्थान के अनुसार, अनुमान है, जहां यह नए संस्करण में कॉपी किया जाना चाहिए। यदि यह काम नहीं करता है, तो शायद आपको postgis1.5 को अनइंस्टॉल करना चाहिए, अपग्रेड करना चाहिए और फिर ''CREATE EXTENSION''' का उपयोग करके पोस्टगिस 2.1 जोड़ें। – amenadiel
क्या मैं डेटाबेस रखने के दौरान पोस्टगिस को अनइंस्टॉल कर सकता हूं जिसमें ज्यामिति डेटा है? –