On 7 August 2012 03:10, Jeff Whitaker <jsw...@fastmail.fm> wrote:
> Available for download at
> https://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-1.0.5/

Just a note to anyone experiencing problems building against GEOS
3.3.3 installed from the ubuntu-gis-unstable PPA on Ubuntu. The naming
convention for the GEOS shared library has changed and I had to apply
the patch below as a workaround:

diff --git a/setup.py b/setup.py
index 216ddf6..dc6d916 100644
--- a/setup.py
+++ b/setup.py
@@ -82,7 +82,7 @@ else:
                                 library_dirs=geos_library_dirs,
                                 runtime_library_dirs=geos_library_dirs,
                                 include_dirs=geos_include_dirs,
-                                libraries=['geos_c','geos']))
+                                libraries=['geos_c','geos-3.3.3']))

 # Specify all the required mpl data
 # create pyproj binary datum shift grid files.

Apparently this is an acceptable practice on Debian systems
(http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-shlibs),
but no time to dream up a more robust fix right now..

Cheers,
Scott

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to