1. 程式人生 > >OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so

OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so

5.0 load find erro onf nbsp function lai bsp

OSError: Could not find library geos_c or load any of its variants [‘libgeos_c.so.1‘, ‘libgeos_c.so

解決:

sudo vim /etc/ld.so.conf

添加:/opt/source/geos-3.5.0/build/lib

sudo ldconfig

OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so