<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Xavier,<div class=""><br class=""></div><div class="">First of all, thank you for maintaining this package on the AUR. I use Arch Linux at home, so it’s great to see someone supporting this!</div><div class=""><br class=""></div><div class="">I tried makepkg’ing the PKGBUILD you provided, but I encountered the same H5Rdereference error. I noticed that the hdf5_18 package is listed as a dependency, and then noticed that /usr/lib/hdf5_18 does not include libhdf5_hl.so. Someone reported this for a previous version of hdf5_18, but it doesn’t appear to have been fixed since then: <a href="https://bugs.archlinux.org/task/51902" class="">https://bugs.archlinux.org/task/51902</a> </div><div class=""><br class=""></div><div class="">I also found that the newer hdf5 package was installed as a dependency for both gdal and netcdf, with its libs and includes directly in /usr/lib and /usr/include (as opposed to /usr/{lib,include}/hdf5_18 for hdf5_18); the libs and includes seem to be duplicated between the two packages (except the libhdf5_hl.so* files mentioned above), so I wonder if perhaps having both of these installed is causing a conflict?</div><div class=""><br class=""></div><div class="">Also, I noticed that the Site.local you provided has “<font face="Menlo" class="">-I/usr/include/hdf5_18</font>” in IncSearch, but no corresponding “<font face="Menlo" class="">-L/usr/lib/hdf5_18</font>” in LibSearch. I tried adding “<font face="Menlo" class="">-L/usr/lib/hdf5_18</font>”, but the build still failed.</div><div class=""><br class=""></div><div class="">For what it’s worth, /usr/lib/hdf5_18/libhdf5.so <i class="">does</i> seem have a reference to H5Rdereference:</div><div class=""><font face="Menlo" class="">$ nm -D /usr/lib/hdf5_18/libhdf5.so | grep H5Rdereference<br class="">000000000016cfb0 T H5Rdereference</font></div><div class=""><br class=""></div><div class="">I hope this helps!</div><div class="">Kevin</div><div class=""><br class=""></div><div class="">PS - I currently run NCL 6.4.0 on Arch using conda: <a href="http://ncl.ucar.edu/Download/conda.shtml" class="">http://ncl.ucar.edu/Download/conda.shtml</a> </div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 15, 2017, at 3:06 PM, Xavier Corredor Llano <<a href="mailto:xcorredorl@unal.edu.co" class="">xcorredorl@unal.edu.co</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">hi everyone, <br class=""><br class="">I'm the maintainer of the NCL packages for Archlinux [1], I have some issues for build the new version 6.4.0, the error is:<br class=""><br class="">NclNewHDF5.o: In function `_checkH5attribute':<br class="">NclNewHDF5.c:(.text+0x2818): undefined reference to `H5Rdereference'<br class="">NclNewHDF5.c:(.text+0x3552): undefined reference to `H5Rdereference'<br class="">NclNewHDF5.o: In function `_region2string':<br class="">NclNewHDF5.c:(.text+0x4c89): undefined reference to `H5Rdereference'<br class="">NclNewHDF5.o: In function `_mem2string':<br class="">NclNewHDF5.c:(.text+0x4de1): undefined reference to `H5Rdereference'<br class="">NclNewHDF5.o: In function `_readH5dataInfo':<br class="">NclNewHDF5.c:(.text+0x64aa): undefined reference to `H5Rdereference'<br class="">collect2: error: ld returned 1 exit status<br class="">make[4]: *** [Makefile:707: ncl] Error 1<br class="">make[4]: Leaving directory '/build/ncl/src/ncl_ncarg-6.4.0/ni/src/ncl'<br class=""><br class="">using hdf5 version 1.8.18, the build instructions (PKGBUILD) and completed build log can found in [2].<br class=""><br class="">Thanks for any help!<br class=""><br class="">Xavier<br class=""><br class="">[1] <a href="https://aur.archlinux.org/packages/ncl/" class="">https://aur.archlinux.org/packages/ncl/</a><br class="">[2] <a href="https://drive.google.com/drive/folders/0B2KQf7Dbx7DUNkZXRVRwOEVLcm8_______________________________________________" class="">https://drive.google.com/drive/folders/0B2KQf7Dbx7DUNkZXRVRwOEVLcm8_______________________________________________</a><br class="">ncl-install mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br class=""></div></div></blockquote></div><br class=""></div></body></html>