[geos-devel] python bindings in trunk

Sean Gillies sgillies at frii.com
Thu May 28 22:44:38 EDT 2009


Hi Michael, please see

http://trac.osgeo.org/geos/browser/trunk/swig/python/README.txt

Cheers,
Sean

On May 28, 2009, at 7:14 PM, Michael Toews wrote:

> Hi,
>
> I've compiled geos from svn/trunk r2533 to (hopefully) use some new  
> features ported from JTS 1.9 last month. I am using an Ubuntu 8.04  
> LTS server, which already has libgeos-c1 and libgeos2c2a from apt  
> (I'm not sure if this matters or not).
>
> I compiled r2533 using "./configure --enable-python", and the report  
> said that both swig and python is enabled.
>
> After "make"/"make install", I tried going into Python:
>
> Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import geos
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "/usr/local/lib/python2.5/site-packages/geos/geos.py", line 6,  
> in <module>
>    import _geos
> ImportError: /usr/local/lib/python2.5/site-packages/geos/_geos.so:  
> undefined symbol: GEOSWKTReader_create
>
>
> Any idea why? Thanks in advance.
>
> -Mike
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel



More information about the geos-devel mailing list