[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #BRT-487845]: udunits problem when running cfchecks



Si,

> Thank you for your quick response.
> However, I was trying to run the python program, and putting the path
> of libexpat it in the LD_LIBRARY_PATH does not work.
> It looks like the python program assumes XML_Parse** should be defined
> in the libudunits2.so file.

The UDUNITS-2 library never contained the Expat functions: they were always in 
a separate library (either bundled or pre-installed). So that assumption never 
worked.

> OSError: /glade/apps/opt/udunits/2.1.24/gnu/4.7.2/lib/libudunits2.so:
> undefined symbol: XML_ParserCreate
> 
> Is that possible to build the shared library libudunits2.so, so that
> it contains everything cfchecks will need?

The UDUNITS-2 library never contained everything necessary. Doing so would be a 
mistake as it would preclude, for example, using a security patch to the Expat 
library.

I recommend that you contact the cfchecks developer.

> Here is the guide of cfchecks:
> https://pypi.python.org/pypi/cfchecker
> 
> Thank you.
> Sincerely Si
> 
> Si Liu
> Consulting Services Group
> NCAR Computational & Information Services Laboratory
> Knowledge Management Chair of SEA
> Office: Mesa Lab, Room 51A
> Phone: (303) 497-2430

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: BRT-487845
Department: Support UDUNITS
Priority: Normal
Status: Closed