Wednesday, 12 April 2017

Postgres/Django: could not load library postgis-2.1.so

If you are getting error like this after postgresql update:

ERROR:  could not load library "/usr/local/Cellar/postgresql/9.5.6/lib/postgis-2.2.so": dlopen(/usr/local/Cellar/postgresql/9.5.6/lib/postgis-2.2.so, 10): Library not loaded: /usr/local/lib/libCGAL.10.dylib
  Referenced from: /usr/local/lib/libSFCGAL.1.dylib
  Reason: image not found 

or of library libspatialite

Run following command

brew reinstall sfcgal --build-from-source   

brew reinstall libspatialite --build-from-source

I hope it will fix your issue.

Thanks!!!! Enjoy Programming!!! :)

No comments:

Post a Comment

Thanks for your valuable comments.

Odoo 10: Close wizard and open standard form

Hi, Today we are going to learn how to open standard form after saving data in wizard. Let's say I have created an wizard to fill bas...