Daniel, > I am working on OOICI (Ocean Observatories Initiative > Cyberinfrastructur) at UCSD. I downloaded DUNITS 2.1.21 and > installed/configured it on my CentOS 5, but I got the error messages > when the libudunits2.so of udunits was called by cfchecker. Any assist > would be appreciated. > > Thanks again, > Daniel > > Here is the command and errors: > > address@hidden udunits]# cfchecks -v 1.4 -u > /usr/local/udunits-2.1.21/share/udunits/udunits2.xml > /usr/local/netcdf-sample/sresa1b_ncar_ccsm3_0_run1_200001.nc > Traceback (most recent call last): > File "/usr/bin/cfchecks", line 8, in <module> > load_entry_point('cfchecker==2.0.2', 'console_scripts', 'cfchecks')() > File > "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", > line 318, in load_entry_point > def get_metadata_lines(name): > File > "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", > line 2221, in load_entry_point > """Return a ``Requirement`` that matches this distribution exactly""" > File > "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", > line 1954, in load > return entry > File > "/usr/lib/python2.6/site-packages/cfchecker-2.0.2-py2.6.egg/cfchecker/__init__.py", > line 2, in <module> > from cfchecker.cfchecks import getargs, CFChecker > File > "/usr/lib/python2.6/site-packages/cfchecker-2.0.2-py2.6.egg/cfchecker/cfchecks.py", > line 48, in <module> > udunits=CDLL("libudunits2.so") > File "/usr/lib64/python2.6/ctypes/__init__.py", line 353, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: /usr/local/udunits-2.1.21/lib/libudunits2.so: undefined symbol: > XML_ParserCreate Look at the installed UDUNITS-2 library, libudunits.so. Does it contain the symbol XML_ParserCreate? (You can use the nm(1) utility to determine this.) Regards, Steve Emmerson Ticket Details =================== Ticket ID: AOK-455227 Department: Support UDUNITS Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.