[MacPorts] #24663: postgis 1.4 - 1.5 upgrade impossible? ERROR: could not access file "$libdir/postgis-1.4
#24663: postgis 1.4 - 1.5 upgrade impossible? ERROR: could not access file "$libdir/postgis-1.4 -------------------------------+-------------------------------------------- Reporter: katzlbt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: -------------------------------+-------------------------------------------- I run a posgis enabled database and upgraded inadvertendly the postgis package 2 month ago (probably through a dependency). If the old version postgis-1.4.so is removed, the database is lost (not upgradable and not accessible!) To upgrade or dump a database v1.4, original versioned libraries must be present as it seems (see error below). Because the postgis-1.4 package no longer exists on macports one cannot recompile the old postgis dynamic library. Luckily, I had an old enough TimeMachine backup, so I was able to copy the file (/opt/local/lib/postgresql84/postgis-1.4.so) back, but there should be a solution for those without an old enough backup! I fear the only possibility is to leave /opt/local/lib/postgresql84/postgis-1.4.so in place for deactivated packages and to maintain each version separately for considerable time. pg_dump: Error message from server: ERROR: could not access file "$libdir/postgis-1.4": No such file or directory -- Ticket URL: <http://trac.macports.org/ticket/24663> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24663: postgis 1.4 - 1.5 upgrade impossible? ERROR: could not access file "$libdir/postgis-1.4 -------------------------------+-------------------------------------------- Reporter: katzlbt@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: postgis -------------------------------+-------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => stromnov@… * port: => postgis Comment: Please remember to fill in the Port field and cc the maintainer. -- Ticket URL: <http://trac.macports.org/ticket/24663#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts