You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImportError: /lib64/libz.so.1: version "ZLIB_1.2.9" not found (required by /home/users/otirmizi/.conda/envs/isce3/lib/./libpng16.so.16)
I ran into this issue when trying to run s1_geo_stack.py, and it may occur with other scripts as well.
Even though isce3 comes packaged with the appropriate libraries, it seems this issue arises when there is a different/older version in the OS (in my case it was located at /lib64/libz.so.1) which is loaded instead of the correct version in .conda/envs/isce3/lib.
A quick fix for resolving this error is to use LD_PRELOAD to point at the correct library so that the version needed for isce3 is loaded first. This can be done with export LD_PRELOAD=/home/users/YOUR_USERNAME/.conda/envs/isce3/lib/libz.so.1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
ImportError: /lib64/libz.so.1: version "ZLIB_1.2.9" not found (required by /home/users/otirmizi/.conda/envs/isce3/lib/./libpng16.so.16)
I ran into this issue when trying to run s1_geo_stack.py, and it may occur with other scripts as well.
Even though isce3 comes packaged with the appropriate libraries, it seems this issue arises when there is a different/older version in the OS (in my case it was located at /lib64/libz.so.1) which is loaded instead of the correct version in .conda/envs/isce3/lib.
A quick fix for resolving this error is to use LD_PRELOAD to point at the correct library so that the version needed for isce3 is loaded first. This can be done with
export LD_PRELOAD=/home/users/YOUR_USERNAME/.conda/envs/isce3/lib/libz.so.1
Beta Was this translation helpful? Give feedback.
All reactions