修复om升级libssl库加载问题

This commit is contained in:
zhang_xubo
2022-09-06 20:53:53 +08:00
parent c1a32b9db7
commit be7f205925

View File

@ -42,7 +42,7 @@ try:
except ImportError as ex:
try:
local_path = os.path.dirname(os.path.realpath(__file__))
clib_path = os.path.realpath(os.path.join(local_path, "../../gspylib/clib/"))
clib_path = os.path.realpath(os.path.join(local_path, "gspylib/clib/"))
ld_path = os.getenv("LD_LIBRARY_PATH")
if not ld_path or not ld_path.startswith(clib_path):
if not ld_path: