[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