[MacPorts] #24663: postgis 1.4 - 1.5 upgrade impossible? ERROR: could not access file "$libdir/postgis-1.4
MacPorts
noreply at macports.org
Mon Apr 26 06:35:02 PDT 2010
#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
More information about the macports-tickets
mailing list