I had installed Samtools using Conda environment. My MacBook is Apple Silicon M1 based. Recently I did system update and now it is macOS Monterey 12.4. Now Samtools is showing following error.
dyld[29136]: Library not loaded: @rpath/libcrypto.1.0.0.dylib
Referenced from: /Users/atnik/opt/anaconda3/bin/samtools
Reason: tried: '/Users/atnik/opt/anaconda3/bin/../lib/libcrypto.1.0.0.dylib' (no such file), '/Users/atnik/opt/anaconda3/bin/../lib/libcrypto.1.0.0.dylib' (no such file), '/usr/local/lib/libcrypto.1.0.0.dylib' (no such file), '/usr/lib/libcrypto.1.0.0.dylib' (no such file)
zsh: abort samtools
It seems it is trying to look for "libcrypto.1.0.0.dylib" file in the library. I checked the library where I could see "libcrypto.1.1.dylib" but not the "libcrypto.1.0.0.dylib". I reinstalled Anaconda and Samtools but getting same error. The version of samtools installed is samtools-1.4.1-0. I tried to install the recent version (like 1.9 or 1.11) but not able to do so.