我们已经在Linux机器上安装了Sybase 16 Express,它能够在安装后立即启动。当我们最近尝试使用startserver -f RUN_FILE命令重新启动它时,它找不到libsapcrypto.so文件。

    ~/sap/ASE-16_0/bin> ../sap/ASE-16_0/bin/dataserver: error while loading shared libraries: libsapcrypto.so: cannot open shared object file: No such file or directory

我们搜索了此文件,在以下路径中显示了多个匹配项:
./DM/OCS-16_0/lib3p/libsapcrypto.so
./DM/OCS-16_0/lib3p64/libsapcrypto.so
./DM/OCS-16_0/devlib3p64/libsapcrypto.so
./DM/OCS-16_0/devlib3p/libsapcrypto.so
./DM/REP-16_0/lib64/libsapcrypto.so
./DataAccess/ODBC/lib/libsapcrypto.so
./DataAccess64/ODBC/lib/libsapcrypto.so
./OCS-16_0/lib3p/libsapcrypto.so
./OCS-16_0/lib3p64/libsapcrypto.so
./OCS-16_0/devlib3p64/libsapcrypto.so
./OCS-16_0/devlib3p/libsapcrypto.so

最佳答案

由于尚未得到答复,因此运行此命令对我有用:

. /opt/sap/SYBASE.sh
请注意不同的语法,以确保在终端 session 中设置了环境变量,这与使用以下语法相反:
/opt/sap/SYBASE.sh

10-06 12:32