[bug]: libssl conflict cause Patchmatch not loaded
Is there an existing issue for this?
- [X] I have searched the existing issues
OS
Linux
GPU
cuda
VRAM
No response
What happened?
Centos 9 upstream. Did everything by the toturial. Manual python import returns no error. Did a little digging, found it was caused by a dynamic lib loader in patch_match.py.
PMLIB = ctypes.CDLL(osp.join(osp.dirname(file), pypatchmatch_lib))
causes an exception, code here:
Python 3.9.15 | packaged by conda-forge | (main, Nov 22 2022, 15:55:03) [GCC 10.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import ctypes; ctypes.CDLL('/home/liyong3/invokeAI/installer_files/env/envs/invokeai/lib/python3.9/site-packages/patchmatch/libpatchmatch.so'); Traceback (most recent call last): File "
", line 1, in File "/home/liyong3/invokeAI/installer_files/env/envs/invokeai/lib/python3.9/ctypes/init.py", line 374, in init self._handle = _dlopen(self._name, mode) OSError: /lib64/libldap.so.2: undefined symbol: EVP_md2, version OPENSSL_3.0.0
Search engines returns it is caused by the late installed openssl 3.0.0 which lacks some function the pre-installed version has. However, tried a few tricks found online, no luck.
Screenshots
No response
Additional context
No response
Contact Details
No response