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

error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

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.

Mozzarella

New member
Hi,

when I run WPS , I came across a new problem. Geogrid runs successfully but when I try to run ungrib I get this error message:

"./ungrib.exe: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory"

However, as far as I can tell that file does exists, in /Build_WRF/LIBRARIES/grib2/lib/libpng12.so.0 .

I issue the following in my /Build_WRF/LIBRARIES/grib2/lib/ directory:

ls -ls >& lib.txt

those are my lib.txt file and configure.wps file.
View attachment lib.txt
View attachment configure.wps
Thanks again for your help!

Fitz
 
Fitz,
Please issue the command in your terminal:

setenv LD_LIBRARY_PATH full_path_to_libraries/Build_WRF/LIBRARIES/grib2/lib:$LD_LIBRARY_PATH

Then try again.
 
Top