我正在尝试将依赖于 Framwork 的 .Net Core 应用程序部署到 Debian 9 Stretch,但是当我启动 .net 应用程序时,它会抛出错误:
> Failed to load ▒݅, error: libunwind.so.8: cannot open shared object file: No such file or directory
> Failed to bind to CoreCLR at '/var/www/html/libcoreclr.so'
是的,该文件位于/var/www/html/libcoreclr.so
最佳答案
这与 https://github.com/dotnet/cli/issues/3390 具有相似的根本原因
对于没有 Linux 经验的人,可以通过执行在 Debian 和衍生发行版(Ubuntu、Xubuntu、Devuan 等)中安装 libunwind
sudo apt install libunwind8
对于任何 RedHat 之类的发行版:
sudo yum install libunwind
关于.net - 无法绑定(bind)到 CoreCLR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50652310/