EF.core 连接GBASE 8s数据库报错
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【GBase版本】:
GBase8sV8.8
【操作系统】:
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
【CPU】:
【问题描述】*:
System.TypeInitializationException: The type initializer for 'GBS.Data.GBasedbt.GbsConnection' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'iclit09b.so' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.26/iclit09b.so: cannot open shared object file: No such file or directory
/app/iclit09b.so: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.26/libiclit09b.so: cannot open shared object file: No such file or directory
/app/libiclit09b.so: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.26/iclit09b.so.so: cannot open shared object file: No such file or directory
/app/iclit09b.so.so: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.26/libiclit09b.so.so: cannot open shared object file: No such file or directory
/app/libiclit09b.so.so: cannot open shared object file: No such file or directory
评论
必须安装:GBase 8s CSDK 或 ClientSDK这是 .NET 依赖的底层库。
一般在:
plaintext
/opt/gbase/8s/lib/cli
/opt/gbase/8s/lib/esql
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25044
- 42023-09-25浏览数:18519
- 52020-05-11浏览数:17526