Basemap 0.9.9 ImportError

Hi,

I'm getting the following on Gentoo Linux:
#python hurrtracks.py
Traceback (most recent call last):
  File "hurrtracks.py", line 7, in <module>
    from matplotlib.toolkits.basemap import Basemap as Basemap
  File
"/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/__init__.py",
line 1, in <module>
    from basemap import __doc__, __version__
  File
"/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/basemap.py",
line 33, in <module>
    import pyproj, sys, os, math, dbflib
  File
"/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/pyproj.py",
line 49, in <module>
    from _geod import Geod as _Geod
ImportError:
/usr/lib64/python2.5/site-packages/matplotlib/toolkits/basemap/_geod.so:
undefined symbol: pj_errno

Any clues as to why this would be happening? As far as I can tell,
pj_errno would be in Proj, which basemap has a version of internally.

Ryan

···

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

Ryan May wrote:

Hi,

I'm getting the following on Gentoo Linux:
#python hurrtracks.py
Traceback (most recent call last):
  File "hurrtracks.py", line 7, in <module>
    from matplotlib.toolkits.basemap import Basemap as Basemap
  File
"/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/__init__.py",
line 1, in <module>
    from basemap import __doc__, __version__
  File
"/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/basemap.py",
line 33, in <module>
    import pyproj, sys, os, math, dbflib
  File
"/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/pyproj.py",
line 49, in <module>
    from _geod import Geod as _Geod
ImportError:
/usr/lib64/python2.5/site-packages/matplotlib/toolkits/basemap/_geod.so:
undefined symbol: pj_errno

Any clues as to why this would be happening? As far as I can tell,
pj_errno would be in Proj, which basemap has a version of internally.

Ryan

Ryan: Nothing comes immediately to mind - unless something went wrong with your build. Could you rebuild basemap and send me the a log of the build off-list?

-Jeff

···

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : Jeffrey S. Whitaker: NOAA Physical Sciences Laboratory