There is a problem with my WRF-installation, it shows "ld: cannot find -lz"

All topics related to compiling WRF, including environment set-up, and library installation
Post Reply
cxyiyh
Posts: 30
Joined: Mon Nov 02, 2020 12:54 am

There is a problem with my WRF-installation, it shows "ld: cannot find -lz"

Post by cxyiyh » Thu Mar 18, 2021 9:02 am

Hi,friends

There is a problem with my WRF model installation, it shows "ld: cannot find -lz".
And Here is my compiled log.
real.log
(1.75 MiB) Downloaded 8 times
hank you so much for helping me!

yours,
Cxyiyh

kwerner
Posts: 2287
Joined: Wed Feb 14, 2018 9:21 pm

Re: There is a problem with my WRF-installation, it shows "ld: cannot find -lz"

Post by kwerner » Thu Mar 18, 2021 8:26 pm

I see that you are installing WRF-chem. Are you able to build the code when you don't build the chemistry component? If so, then this is specific to chemistry and you should post this question in the WRF-chem section of the forum. Otherwise, I would suggest following the instructions here to ensure your environment is setup correctly, and that you have all the libraries installed properly.
NCAR/MMM

Post Reply

Return to “WRF Compiling/Installation”