[FLASH-USERS] linking error with HDF5

Adam F Kowalski Adam.F.Kowalski at Colorado.EDU
Thu Nov 20 15:13:51 EST 2025


Dear Flash users,

When I make Flash on a new machine, I get the following error:

...
owalski/myhdf5stuff/build/ci-StdShar-GNUC/HDF5-2.0.0-Linux/HDF_Group/HDF5/2.0.0/lib -lhdf5 -lz
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make: *** [Makefile:384: flash4] Error 1

I'm wondering what the -lz does (can't find it through googling) and if there is another way I can link the HDF5 libraries?

Thanks,
Adam K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20251120/129972e7/attachment.htm>


More information about the flash-users mailing list