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

(RESOLVED) ./ungrib.exe: Error while loading shared libraries

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
I am trying to give a demo run by following same instruction as mentioned here:
WPS and WRF V4 setup was successful as I have performed all the compatibility tests successfully as mentioned in the tutorial.

But when I tried to implement ./ungrib.exe, the following error occurred
./ungrib.exe: error while loading shared libraries: cannot open shared object file: No such file or directory

Could you please help me ? How to create



  • Screenshot from 2019-10-23 11-26-03.png
    Screenshot from 2019-10-23 11-26-03.png
    211.6 KB · Views: 3,351
  • namelist.wps
    1.3 KB · Views: 102
  • Like
Reactions: A R
I think you may need to add the directory containing the '' file to your LD_LIBRARY_PATH environment variable.

Assuming that the file $DIR/grib2/lib/ exists, you could try: