PaddleSharp icon indicating copy to clipboard operation
PaddleSharp copied to clipboard

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

Open faceman0814 opened this issue 1 year ago • 2 comments

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

faceman0814 avatar Apr 30 '24 05:04 faceman0814

在dockerfile中指定env即可

sdcb avatar Apr 30 '24 05:04 sdcb

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

n0099 avatar Apr 30 '24 06:04 n0099