OSError: XXXXXXX: cannot open shared object file: No such file or directory
Hi,
Thank you very much for developing the Python module for processing whole slide images (WSIs) in .sdpc format.
When I run import sdpc, I encountered the following error:
OSError: libjpeg.so.8: cannot open shared object file: No such file or directory
I followed the instructions in Issues 2, and found libjpeg.so.8 in the directory /usr/local/miniconda3/lib/python3.8/site-packages/sdpc/LINUX/jpeg/. So, I add the following code in the last line of ~/.bashrc, and ran source ~/.bashrc. The 2 other pathes were added in case of other similar errors.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/miniconda3/lib/python3.8/site-packages/sdpc/LINUX/:/usr/local/miniconda3/lib/python3.8/site-packages/sdpc/LINUX/jpeg/:/usr/local/miniconda3/lib/python3.8/site-packages/sdpc/LINUX/ffmpeg/
But, I encountered another similar error:
OSError: libnuma.so.1: cannot open shared object file: No such file or directory
I didn't find libnuma.so.1 in the folder named sdpc.
Hi, maybe you can try to use the old version of the compiled file to see if it works. https://cloud.tsinghua.edu.cn/f/ff9288a0533d489584da/?dl=1 This requires you to replace all the files in the LINUX folder of sdpc library. (#12)
Hi,
I've replace all the files in the LINX folder of sdpc library, but still found error when import sdpc:
Traceback (most recent call last):
File "
I find libDecodeHevc.so file in "/root/miniconda/envs/clam/lib/python3.7/site-packages/sdpc/LINUX/libDecodeHevc.so", but I don't know why the system can't find file.