Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

real.exe can't find libhdf5

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
Hi All,

I've compiled WRF using netcdf that I built without HDF5 and netcdf-4, but when I run real.exe I get this error:

real.exe: error while loading shared libraries: cannot open shared object file: No such file or directory

I checked the compile log file and the HDF5 env. variable wasn't set at compile time, so I don't understand this error...

Any clues?

Please look at your netCDF lib and see what files you have there. Just an example, in my computer, I have the following files in my netCDF lib:
Can you find similar files?
Thanks for your reply,

I don't have that file because I am using netcdf libraries compiled without HDF5 support.

I also compiled WRF without HDF5 support so was not expecting it to need this file - maybe I will have to try recompiling...