iamzhong 发表于 2026-7-13 08:42:46

【8.4.4-5】`OPENSSL_1_1_1' not found (required by /usr/local/GreatSQL/bin/m...

操作系统:openEuler 24.03 LTS SP4

openssl: `OpenSSL 3.5.6 7 Apr 2026 (Library: OpenSSL 3.5.6 7 Apr 2026)`
运行客户端mysql 报错:
```

# mysql
mysql: /usr/lib64/libssl.so: version `OPENSSL_1_1_1' not found (required by mysql)
mysql: /usr/lib64/libssl.so: version `OPENSSL_1_1_0' not found (required by mysql)
mysql: /usr/lib64/libcrypto.so: version `OPENSSL_1_1_1' not found (required by mysql)
mysql: /usr/lib64/libcrypto.so: version `OPENSSL_1_1_0' not found (required by mysql)

```

greatsql运行状态:

```

# systemctl status greatsql
● greatsql.service - GreatSQL Server
   Loaded: loaded (/usr/lib/systemd/system/greatsql.service; enabled; preset: disabled)
   Active: active (running) since Sun 2026-07-12 21:56:14 CST; 8min ago
       Docs: man:mysqld(8)
             http://dev.mysql.com/doc/refman/en/using-systemd.html
    Process: 1178 ExecStartPre=/usr/local/GreatSQL/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
   Main PID: 1321 (mysqld)
   Memory: 2.6G ()
   CGroup: /system.slice/greatsql.service
             └─1321 /usr/local/GreatSQL/bin/mysqld

Jul 12 21:56:14 greatsql-mgr-3 systemd: Starting GreatSQL Server...
Jul 12 21:56:14 greatsql-mgr-3 mysqld_pre_systemd: /usr/local/GreatSQL/bin/mysqld_pre_systemd: line 36: /usr/loca>
Jul 12 21:56:14 greatsql-mgr-3 mysqld_pre_systemd: /usr/local/GreatSQL/bin/mysqld_pre_systemd: line 36: /usr/loca>
Jul 12 21:56:14 greatsql-mgr-3 mysqld_pre_systemd: /usr/local/GreatSQL/bin/mysqld_pre_systemd: line 36: /usr/loca>
Jul 12 21:56:14 greatsql-mgr-3 mysqld_pre_systemd: /usr/local/GreatSQL/bin/mysqld_pre_systemd: line 36: /usr/loca>
Jul 12 21:56:14 greatsql-mgr-3 mysqld_pre_systemd: /usr/local/GreatSQL/bin/mysqld_pre_systemd: line 180: /usr/loc>
Jul 12 21:56:14 greatsql-mgr-3 systemd: Started GreatSQL Server.
Jul 12 21:56:14 greatsql-mgr-3 (mysqld): greatsql.service: Referenced but unset environment variable evaluates to>

```

yejr 发表于 2026-7-13 09:12:50

请先参考文档说明“添加动态依赖库”这部分内容,链接:https://greatsql.cn/docs/8.4.4-5/4-install-guide/3-3-openeuler-install.html#添加动态依赖库
页: [1]
查看完整版本: 【8.4.4-5】`OPENSSL_1_1_1' not found (required by /usr/local/GreatSQL/bin/m...