Skip to content

(NPP) Shared Library loading issue on Linux #116

@hillin

Description

@hillin

My program complains that it can't find nppisu64_12 when running on Linux:

Unable to load shared library 'nppisu64_12' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libnppisu64_12: cannot open shared object file: No such file or directory

The program is running inside a docker container, based on the nvidia/cuda:12.1.1-runtime-ubuntu20.04 image. I can find the libnppisu.so.12 file, but not libnppisu.so. Creating a link solved the problem.

So the question is, should ManagedCuda try to explicitly load libnppisu.so.12, instead of generally load nppisu? The same goes for other shared libraries.

Edit: fix file names, they don't have the 64 postfix in Linux.

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