Re: Postgis on Mac OS Leopard

2009-03-02 Thread omat * gezgin.com
In the end, I made an upgrade to PostgreSQL 8.3 and clean installations of PostGIS and related libraries using binary packages. It still required some manual fixing of paths but I managed to get it going in the end. Thanks. On Feb 27, 1:33 pm, Graham Dumpleton

Re: Postgis on Mac OS Leopard

2009-02-27 Thread Graham Dumpleton
On Feb 27, 10:23 pm, "omat * gezgin.com" wrote: > 'file' for liblwgeom.so and two of it dependencies (libgeos_c.1.dylib > and libproj.0.dylib) reveals they are built only for i386. > > Is this ok or should it be x86_64? as I built from source, how come > they are built for the

Re: Postgis on Mac OS Leopard

2009-02-27 Thread omat * gezgin.com
'file' for liblwgeom.so and two of it dependencies (libgeos_c.1.dylib and libproj.0.dylib) reveals they are built only for i386. Is this ok or should it be x86_64? as I built from source, how come they are built for the wrong architecture, if so? Thanks, omat On Feb 27, 11:16 am, Graham

Re: Postgis on Mac OS Leopard

2009-02-27 Thread Graham Dumpleton
On Feb 27, 8:13 pm, "omat * gezgin.com" wrote: > I am using the django's built-in development server. Odd then. All I can suggest is to run: otool -L /usr/local/pgsql_saved_0804141532/lib/liblwgeom.so This will tell you want other libraries that is dependent upon. Then

Re: Postgis on Mac OS Leopard

2009-02-27 Thread omat * gezgin.com
I am using the django's built-in development server. Thanks. On Feb 27, 12:48 am, Graham Dumpleton wrote: > On Feb 27, 12:29 am, "omat * gezgin.com" wrote: > > > Thanks for the pointer. > > > But I checked the architecture of the liblwgeom.so

Re: Postgis on Mac OS Leopard

2009-02-26 Thread Graham Dumpleton
On Feb 27, 12:29 am, "omat * gezgin.com" wrote: > Thanks for the pointer. > > But I checked the architecture of the liblwgeom.so with 'file' and the > result is: > /usr/local/pgsql_saved_0804141532/lib/liblwgeom.so: Mach-O bundle i386 > > which is the correct architecture for

Re: Postgis on Mac OS Leopard

2009-02-26 Thread omat * gezgin.com
Thanks for the pointer. But I checked the architecture of the liblwgeom.so with 'file' and the result is: /usr/local/pgsql_saved_0804141532/lib/liblwgeom.so: Mach-O bundle i386 which is the correct architecture for my Intel based macbook pro. I am lost. On Feb 26, 1:25 pm, Graham

Postgis on Mac OS Leopard

2009-02-26 Thread omat
Hi all, Following the instructions on in http://geodjango.org/docs/install.html, i managed to get to "Creating a Spatial Database Template" section. But when trying to execute the line below (as postgres user of course): $ psql -d template_postgis -f `pg_config --sharedir`/lwpostgis.sql it