This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Kelton, I just ran into this problem on my OS X system and found a workout involving a single line edit to $NAWIPS/config/Makeinc.darwin line 19, change from XML2OPT = 'CC=$(CC)' '--with-iconv' to XML2OPT = 'CC=$(CC)' '--without-iconv' and then run 'make distclean' from the top-level $NAWIPS directory, followed by a clean build 'make all; make install' Let me know how this works for you. Just tested it again this morning and found it solves this libxml2 issue. Michael James Unidata > Gempak Support, > > I am having some issues with compiling Gempak on Mac OS X Snow > Leopard. The problem is, I have successfully compiled on this same OS > before, but for some reason I cannot duplicate successful results. I was > hoping to find a way to resolve my issue. This is the error the compiler > gives me: > > Undefined symbols: > "_libiconv", referenced from: > _xmlIconvWrapper in libxml2.a(encoding.o) > "_libiconv_open", referenced from: > _xmlFindCharEncodingHandler in libxml2.a(encoding.o) > _xmlFindCharEncodingHandler in libxml2.a(encoding.o) > _xmlFindCharEncodingHandler in libxml2.a(encoding.o) > _xmlFindCharEncodingHandler in libxml2.a(encoding.o) > "_libiconv_close", referenced from: > _xmlCharEncCloseFunc in libxml2.a(encoding.o) > _xmlCharEncCloseFunc in libxml2.a(encoding.o) > _xmlFindCharEncodingHandler in libxml2.a(encoding.o) > _xmlFindCharEncodingHandler in libxml2.a(encoding.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[2]: *** [gdpoint] Error 1 > > This same error message is repeated for each and every program (gdplot, etc) > > I have tried multiple uninstalls, reinstalls, and more, but I do not have > sufficient knowledge in this subject to know how to properly diagnose > the problem. I have all of the required programs installed as described > in the OS X installation guide. Any help would be greatly appreciated. > > Sincerely, > Kelton Halbert. > > Ticket Details =================== Ticket ID: HVA-261441 Department: Support GEMPAK Priority: Normal Status: Open