Hi all,
Just updated basemap from 0.9.4 to 0.9.8 on Mandriva Linux 2008. I also
installed basemap-data-fullres-0.9.7. I've noticed there's a couple of
recent posts about problems (on Macs) with 0.9.8, the solution being to
install setuptools until 0.9.9 comes along; the problem I have is similar to
the posts but not the same, so I'd like to check here before proceeding with
setuptools.
I installed the included geos-2.2.3, then basemap-0.9.8, then
basemap-data-fullres-0.9.7. However when I now import basemap I get:
In [1]: from matplotlib.toolkits.basemap import Basemap
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback (most recent call last)
/home/emason/python/tools/<ipython console> in <module>()
/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/__init__.py in
<module>()
----> 1 from basemap import __doc__, __version__
2 from basemap import *
/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/basemap.py in
<module>()
29 from matplotlib.cbook import is_scalar, dedent
30 from shapelib import ShapeFile
---> 31 import _geos, pupynere
32
33 # basemap data files now installed in
lib/matplotlib/toolkits/basemap/data
<type 'exceptions.ImportError'>: libgeos_c.so.1: cannot open shared object
file: No such file or directory
Yet the file, in fact a link, libgeos_c.so.1, does exist at the location
(/usr/local/lib) where it is supposed to be:
[EMAIL PROTECTED] lib]# ll
total 44230
-rw-r--r-- 1 root root 28107924 2007-12-28 16:31 libgeos.a
-rw-r--r-- 1 root root 581806 2007-12-28 16:31 libgeos_c.a
-rwxr-xr-x 1 root root 830 2007-12-28 16:31 libgeos_c.la*
lrwxrwxrwx 1 root root 18 2007-12-28 16:31 libgeos_c.so ->
libgeos_c.so.1.1.1*
lrwxrwxrwx 1 root root 18 2007-12-28 16:31 libgeos_c.so.1 ->
libgeos_c.so.1.1.1*
-rwxr-xr-x 1 root root 452162 2007-12-28 16:31 libgeos_c.so.1.1.1*
-rwxr-xr-x 1 root root 790 2007-12-28 16:31 libgeos.la*
lrwxrwxrwx 1 root root 16 2007-12-28 16:31 libgeos.so ->
libgeos.so.2.2.3*
lrwxrwxrwx 1 root root 16 2007-12-28 16:31 libgeos.so.2 ->
libgeos.so.2.2.3*
-rwxr-xr-x 1 root root 13443604 2007-12-28 16:31 libgeos.so.2.2.3*
I'd appreciate any help with this.
Thanks, Evan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users