Peter Ngimbwa
Peter Ngimbwa

Reputation: 323

Incompatible library version: libgdal.dylib requires version 10.0.0 or later, but libgeos_c.1.dylib provides version 9.0.0

An error appears when I try to run this command:

from django.contrib.gis import goal

The error is:

Referenced from: /usr/local/lib/libgdal.dylib Reason: Incompatible library version: libgdal.dylib requires version 10.0.0 or later, but libgeos_c.1.dylib provides version 9.0.0

I am using Mac OS X El Capitan (10.11)

Upvotes: 2

Views: 2994

Answers (1)

Peter Ngimbwa
Peter Ngimbwa

Reputation: 323

I was able to fix the problem by using brew to uninstall and install geos, geoip and gdal.

brew uninstall geos gdal geoip
brew cleanup
brew install geos
brew install gdal geoip
brew cleanup

Upvotes: 1

Related Questions