PostGIS psqlostgis ERROR could not load library /usr/lib/postgresql/8.4/lib/postgis-1.5.so
Trying to install PostGIS and you can’t get past this error?
DETAIL: Creating a shell type definition.
psqlostgis.sql:57: ERROR: could not load library “/usr/lib/postgresql/8.4/lib/postgis-1.5.so”: /usr/lib/postgresql/8.4/lib/postgis-1.5.so: undefined symbol: GEOSHausdorffDistance
psqlostgis.sql:63: ERROR: current transaction is aborted, commands ignored until end of transaction block
psqlostgis.sql:68: ERROR: current transaction is aborted, commands ignored until end of transaction block
A simple solution to your problem is the following voodoo command
Check out it’s voodoo magic at ldconfig
As far as my feeble mind can determine, it links some files or something.. What I know is that it has saved my colleagues ass once before and mine when I was setting up a Red Hat install for ruby on rails.
Enjoy your Postgresql PostGIS geographic goodness!
In: Ruby on Rails, Server Config · Tagged with: error, ldconfig, PostGIS, postgresql, problem