Hello, Thank you for contacting us. Looking at the config.log file you provided, I see the following information relating to your hdf5 library: `/usr/bin/ld: /home/bessie/install/HDF5/lib/libhdf5.a(H5F.o): relocation R_X86_64_32S against `.rodata.str1.4' can not be used when making a PIE object; recompile with -fPIC` This suggests that you'll need to recompile your libhdf5 static library, and specify CFLAGS="-fPIC" when running 'configure'. I hope this helps! -Ward > Dear Sir/Madam, > > I am installing the netcdf-c-4.6.1 package on my Ubuntu system and > encountered the error âCan't find or link to the hdf5 library. Use > --disable-netcdf-4, or see config.log for errorsâ. > I have set the CPPFLAGS, LDFLAGS and LD_LIBRARY_PATH with specific paths to > zlib and hdf5 before running ./configure. You may find the config.log in the > attachment for your reference. > > Hope to hear from you soon. Thank you! > > Best regards, > Bessie > [https://www.polyu.edu.hk/emaildisclaimer/PolyU_Email_Signature.jpg] > > Disclaimer: > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose. If you are not the intended > recipient, you should delete this message and notify the sender and The Hong > Kong Polytechnic University (the University) immediately. Any disclosure, > copying, or distribution of this message, or the taking of any action based > on it, is strictly prohibited and may be unlawful. > > The University specifically denies any responsibility for the accuracy or > quality of information obtained through University E-mail Facilities. Any > views and opinions expressed are only those of the author(s) and do not > necessarily represent those of the University and the University accepts no > liability whatsoever for any losses or damages incurred or caused to any > party as a result of the use of such information. > > Ticket Details =================== Ticket ID: XEK-102789 Department: Support netCDF Priority: Normal Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.