Skip to content

部署到ubuntu 22.04上运行报错 #168

@hapgaoyi

Description

@hapgaoyi

Describe the bug

使用vs发布后将所有依赖的环境直接复制到linux上了。运行报错:System.DllNotFoundException: Unable to load shared library 'paddle_inference_c' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
/data/runtimes/linux-x64/native/paddle_inference_c.so: cannot open shared object file: No such file or directory
文件是存在的。这是什么原因

Steps to reproduce the bug

Empty

Expected behavior

No response

Screenshots

No response

Release version

No response

IDE

No response

OS version

Linux ubuntu 22.04

Additional context

No response

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