问题描述
我有一个在 Google Cloud App Engine 上运行的 .Net Core 3.1 网络应用程序。当我尝试使用 Skia 2.80.2 时,出现以下错误:
System.DllNotFoundException: Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help diagnose loading problems,consider setting the LD_DEBUG environment variable: liblibSkiaSharp: cannot open shared object file: No such file or directory
我添加了 nuget 包 SkiaSharp.NativeAssets.Linux 并尝试将 runtimes\linux-x64\native\libSkiaSharp.so 作为内容添加到项目中。
在 app.yaml 中设置 LD_DEBUG 对日志没有影响:
env_variables:
LD_DEBUG: 'all'
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)