Changes between Version 60 and Version 61 of GeoDjangoInstall


Ignore:
Timestamp:
Aug 18, 2008, 4:03:49 PM (16 years ago)
Author:
springmeyer
Comment:

Adding more info about GEOS .so in PostGIS section

Legend:

Unmodified
Added
Removed
Modified
  • GeoDjangoInstall

    v60 v61  
    167167$ psql -d <db_name> -f /usr/share/lwpostgis.sql # another possible installation location
    168168# Note: ignore any NOTICES, like 'psql:/usr/share/lwpostgis.sql:44: NOTICE:  type "histogram2d" is not yet defined'
     169# Note: errors like `ERROR:  could NOT access file "$libdir/liblwgeom": No such file OR directory` see troubleshooting below
    169170}}}
    170171{{{
     
    175176}}}
    176177
    177  * Note: if you experience errors about not finding libraries, you may need to adjust your `LD_LIBRARY_PATH` (which may be configured system-wide by editing `/etc/ld.so.conf` and running `ldconfig`)(Hint: Most of the times the libraries you are looking for are in '/usr/local/lib').  Sometimes the errors are too many and not descriptive (i.e. operation aborted), in that cases use the '-s' switch on psql to debug step by step. On Solaris platforms use the `crle` utility to configure the runtime linking environment.
     178 * '''Troubleshooting''': if you experience errors about not finding libraries, you should confirm that libgeos.so (.dylib on mac) has been properly installed prior to configuring PostGIS. Otherwise you will need to rebuild PostGIS. If it was built and installed properly you may need to adjust your `LD_LIBRARY_PATH`, or DYLD_LIBRARY_PATH (on mac). (This environment can also be configured system-wide on linux by editing `/etc/ld.so.conf` and running `ldconfig`)
     179  * Hint: Most of the times the libraries you are looking for are in '/usr/local/lib', but geos in particular will output its install location during the `make install` step.
     180  * Sometimes the errors are too many and not descriptive (i.e. operation aborted), in that cases use the '-s' switch on psql to debug step by step. On Solaris platforms use the `crle` utility to configure the runtime linking environment.
    178181
    179182Finally, update your `settings.py` to reflect the name and user for the spatially enabled database (thus far, we only plan to support the `psycopg2` backend for PostgreSQL):
Back to Top