Changes between Version 58 and Version 59 of GeoDjangoInstall


Ignore:
Timestamp:
Aug 17, 2008, 2:46:02 PM (16 years ago)
Author:
springmeyer
Comment:

Added detail to GEOS troubleshooting in GeoDjangoInstall

Legend:

Unmodified
Added
Removed
Modified
  • GeoDjangoInstall

    v58 v59  
    6767}}}
    6868
    69 '''Note:''' The path to the GEOS library may be manually specified by setting `GEOS_LIBRARY_PATH` in your settings with the full path to the GEOS library (e.g., the `.so` for linux or `.dylib` file for mac).
     69'''Troubleshooting:''' The libgeos is a dependency of both GeoDjango directly and PostGIS. If you get errors like 'Could not find the GEOS library (tried "geos_c")' during `syncdb` or when loading the postgis functions into your database (see below), then the library is either not installed or properly linked.
     70 * The path to the GEOS library may be manually specified by setting `GEOS_LIBRARY_PATH` in your settings with the full path to the GEOS library (e.g., the `.so` for linux or `.dylib` file for mac).
    7071 * You should also confirm at this time (if running linux) that the GEOS lib dir, likely `/usr/local/lib` is within `/etc/ld.so.conf`, then run:
    7172{{{
    72 $ ldconfig # then restart the PostgreSQL server
    73 }}}
    74 
     73$ ldconfig
     74}}}
     75 * Then make sure to log out and back in (and if the error occured during postgis function insert then restart the PostgreSQL server)
    7576
    7677=== PROJ.4 ===
Back to Top