[postgis-users] postgis.sql giving error on libgeos

Paul Ramsey pramsey at refractions.net
Tue Oct 26 11:09:46 PDT 2004


Is it (libgeos) in /usr/local/lib ? Is /usr/local/lib in your 
/etc/ld.so.conf file? Have you run /sbin/ldconfig as root?

Paul

David Bitner wrote:

> Alright, I'm getting there bit by bit.  Cpp was out of my path, that solved
> that problem.  Now when I run postgis.sql, I get the following error:
> 
> psql:postgis.sql:47: NOTICE:  type "histogram2d" is not yet defined
> DETAIL:  Creating a shell type definition.
> psql:postgis.sql:47: ERROR:  could not load library
> "/usr/local/pgsql/lib/libpostgis.so.0.9": ld.so.1:
> /usr/local/pgsql/bin/postmaster: fatal: libgeos.so.2: open failed: No such
> file or directory
> 
> When I do an ldd on libpostgis.so.0.9, it finds all the libraries it needs
> there.  libgeos.so.2 is located where I designated in the Makefile.
> 
> One of these days, I'll get up and running...
> 
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of Paul
> Ramsey
> Sent: Monday, October 25, 2004 4:06 PM
> To: PostGIS Users Discussion
> Subject: Re: [postgis-users] Zero Length postgis.sql on Make
> 
> 
> Check the command that the Makefile is running to generate the .sql file.
> Decompose it into bits and run the bits at the command line. One of the bits
> is failing you (probably the cpp bit, but one never knows).
> 
> Paul
> 
> Quoting David Bitner <bitner at macnoise.com>:
> 
> 
>>After running into problems with geos_version.sh that I got past with the
>>help of strk at refractions, I am now getting a zero length postgis.sql
> 
> file
> 
>>with no errors coming from gmake -- other utilities work fine (ie
>>shp2pgsql).
>>
>>I am compiling PostGIS 0.9.0 with Geos 2.0.0 (binary from
> 
> CSW/blastwave.org)
> 
>>on Solaris 9 (x86).
>>
>>Has anyone ever run into this problem before?  Any hints about how to fix?
>>
>>David
>>
>>
>>_______________________________________________
>>postgis-users mailing list
>>postgis-users at postgis.refractions.net
>>http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
> 
> 
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list