Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

Namespace clash: HDF v4.2r1 and libnc-dap-3.6.0



System: Mac Powerbook OS X 10.4.6
               GNU compilers (gcc 4.2.0 , g77 3.4.3 or gfortran 4.2.0)

I have a software tool (NCL http://www.ncl.ucar.edu) that links against HDF v4.2r1 and OPeNDAP's libnc-dap-3.6.0 so as to include functionality present in those libraries.

After recently upgrading my OPeNDAP components (curl, libxml, libnc- dap and libdap) to the most recent versions, I'm unable to link against the HDF and libnc-dap libraries because of a namespace clash:

/usr/bin/ld: multiple definitions of symbol _cdf_routine_name
/.../lib/libnc-dap.dylib(single module) definition of _cdf_routine_name
/.../lib/libmfhdf.a(globdef.o) definition of _cdf_routine_name in section (__DATA,__data)


This seems odd, as that symbol has been present in both libraries for some time now. I've not seen this behavior on other systems (Linux (FC/SuSE), AIX 5). Suggestions appreciated.

-Rick.
----
Rick Grubin      NCAR/CISL/SCD/VETS
Visualization + Enabling Technologies
grubin@xxxxxxxx             303.497.1832


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690