Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request 使用的linux的nuget包,如何在docker环境中设置LD_LIBRARY_PATH的值 #92

Open
faceman0814 opened this issue Apr 30, 2024 · 2 comments

Comments

@faceman0814
Copy link

Feature request type

sample request

Is your feature request related to a problem? Please describe

直接打包到docker上报错,Unable to load shared library 'paddle_inference_c' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libpaddle_inference_c: cannot open shared object file: No such file or directory

Describe the solution you'd like

希望能在docker中调用ocr的功能

Describe alternatives you've considered

No response

Additional context

No response

@sdcb
Copy link
Owner

sdcb commented Apr 30, 2024

在dockerfile中指定env即可

@n0099
Copy link
Contributor

n0099 commented Apr 30, 2024

然后把这些.so文件复制到您指定的LD_LIBRARY_PATH=路径中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants