Skip to content

OSError: XXXXXXX: cannot open shared object file: No such file or directory #14

@HaiyuGong

Description

@HaiyuGong

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions