[postgis-devel] Problems installing PostGIS 2.0SVN on PostgreSQL 9.1

Steffen Weber webste2 at web.de
Fri Nov 18 10:39:09 PST 2011


>You probably have libgeos-3.3.so in /usr/local/lib or something
>because otherwise postgis would not be attempting to use new
>functions exposed by that lib. Check out geos-config --version.

Yes... I have the following files in /usr/local/lib/

libgeos-3.3.1.so
libgeos.a
libgeos.la
libgeos.so -> libgeos-3.3.1.so
libgeos_c.a
libgeos_c.la
libgeos_c.so -> libgeos_c.so.1.7.1
libgeos_c.so.1 -> libgeos_c.so.1.7.1
libgeos_c.so.1.7.1
# geos-config --version
# 3.3.1

>If confirmed, I suggest you drop the old library, which I guess
>was installed by package manager.

I installed GEOS 3.3.1 from source... 

Not sure where libgeos-3.2.2 is coming from...

As you suggested (did I understand right?), I manually removed libgeos-3.2.2.so in /usr/lib/, resulting in:

# ldd /usr/local/pgsql/lib/postgis-2.0.so | grep geos

# libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x00007fbec2c4b000)
# libgeos-3.2.2.so => not found

Not sure what to do exactly... I don't understand why postgis-2.0.so is still referring to libgeos-3.2.2.so, because
I cconfigure postgis with ./configure --with-geosconfig=/usr/local/geos-3.3.1/tools/geos-config.

Thanks.

 
 

-----Ursprüngliche Nachricht-----
Von: "Sandro Santilli" <strk at keybit.net>
Gesendet: 18.11.2011 18:51:27
An: "PostGIS Development Discussion" <postgis-devel at postgis.refractions.net>
Betreff: Re: [postgis-devel] Problems installing PostGIS 2.0SVN on PostgreSQL 9.1

>On Fri, Nov 18, 2011 at 05:46:42PM +0100, Steffen Weber wrote:
>> This is what Im getting when running ldd /usr/local/pgsql/lib/postgis-2.0.so | grep geos:
>>
>> libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x00007ff420eac000)
>> libgeos-3.2.2.so => /usr/lib/libgeos-3.2.2.so (0x00007ff420230000)
>>
>> Should I remove one of those libs?
>
>You probably have libgeos-3.3.so in /usr/local/lib or something
>because otherwise postgis would not be attempting to use new
>functions exposed by that lib. Check out geos-config --version.
>If confirmed, I suggest you drop the old library, which I guess
>was installed by package manager.
>
>--strk;
>
> () Free GIS & Flash consultant/developer
> /\ http://strk.keybit.net/services.html
>_______________________________________________
>postgis-devel mailing list
>postgis-devel at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-devel


___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192



More information about the postgis-devel mailing list