.net - 无法绑定(bind)到 CoreCLR

标签 .net .net-core debian-stretch

我正在尝试将依赖于 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/

相关文章:

.net - 为什么 async 的返回类型必须是 void、Task 或 Task<T>

.net - 获取一个 MySQL 表的 ID 并将其插入到另一个表中

.net - 使用.NET从JPEG删除EXIF数据的简单方法

.net-core - dotnet-core ef sql 连接

c# - Asp.net Core MVC 属性路由约束的意外行为

php - docker debian 拉伸(stretch)镜像中缺少 php-redis 存储库

.net - 从安装程序写入 InstallLog

asp.net-core - 在 ASP.NET Core MVC 中提供一些静态文件的问题

php - apache2 不在 Debian Stretch 上执行 php 脚本

linux - "bash: sysctl: command not found"在 debian :stretch-slim