[postgis-users] installing postgis on debian testing (sarge)

Fred McDavid frm at bitdaddy.com
Sun Sep 19 13:17:07 PDT 2004


Hi Kevin,

I've done some work on this that I'd be interested in seeing moved further 
along.  I'll try to get them on a website and let the postgis and mapserver 
mailing lists know they're there.  I _also_ know little about deb packaging, 
so I can't speak as to how good of a job I was able to do.  It seems to be 
fairly issue-free.

--Fred

On Saturday 18 September 2004 11:42 am, Kevin Murphy wrote:
> I'm having problems installing postgis properly on debian testing.  If
> there's any way I can help packages for geos, proj4, postgresql, and
> postgis become a well-coordinated reality for debian, I'm pretty
> motivated (although I don't know anything about debian packages ;-).
>
> I'm having the famous problem:
> ---
> $ psql -d geo -f postgis-lib.sql
> BEGIN
>         message
> ------------------------
>  PL/PgSQL is installed.
> (1 row)
> psql:postgis-lib.sql:47: NOTICE:  type "histogram2d" is not yet defined
> DETAIL:  Creating a shell type definition.
> psql:postgis-lib.sql:47: ERROR:  could not load library
> "/usr/lib/postgresql/lib/libpostgis.so.0.9": libgeos.so.2: cannot open
> shared object file: No such file or directory
> ----
>
> I followed directions at:
>
> http://edseek.com/archives/2004/03/31/installing-postgis-on-debian-gnulinux
>/
>
> but had to supplement them since they didn't deal with proj4 or geos.
>
> Here is where my libraries are:
> /usr/lib/postgresql/lib/libpostgis (0.9, installed from source)
> /usr/local/lib/libgeos.* (2.0.0, installed from source)
> /usr/lib/libproj.* (4.4, installed from 'proj' package)
> /usr/lib/postgresql (PG 7.4.5, installed from 'postgresql' package)
>
> When I built postgis I changed the Makefile so that
> GEOS_DIR=/usr/local
> and
> PROJ_DIR=/usr
>
> I think I'm close here, since the libraries just have to find each
> other, seemingly.
>
> Thanks a lot!
>
> Kevin Murphy
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

-- 
==========================================================
Fred R. McDavid, III
  540-248-0838
    frm at bitdaddy.com
      BitDaddy Systems, Inc
       * Complex System Design, Management, and Hosting
==========================================================



More information about the postgis-users mailing list