Opened 15 years ago

Last modified 10 years ago

#24663 new defect

postgis 1.4 - 1.5 upgrade impossible? ERROR: could not access file "$libdir/postgis-1.4

Reported by: katzlbt (Dr. Thomas) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: postgis

Description

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

Change History (2)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to stromnov@…
Port: postgis added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.