apisix启动报错undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b
报错内容
2024/08/06 16:56:13 [error] 154236#154236: *7039 [lua] plugin.lua:110: load_plugin(): failed to load plugin [ldap-auth] err: error loading module 'lualdap' from file '/usr/local/apisix//deps/lib/lua/5.1/lualdap.so':
/usr/lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b, context: init_worker_by_lua*
解决方案
PRD [root@100 appdeploy]# cd /usr/local/openresty/openssl111/lib/
PRD [root@100 lib]# ll
total 3560
drwxr-xr-x 2 root root 55 Aug 6 16:21 engines-1.1
lrwxrwxrwx 1 root root 16 Mar 20 2022 libcrypto.so -> libcrypto.so.1.1
-rwxr-xr-x 1 root root 3034080 Mar 20 2022 libcrypto.so.1.1
lrwxrwxrwx 1 root root 13 Mar 20 2022 libssl.so -> libssl.so.1.1
-rwxr-xr-x 1 root root 607496 Mar 20 2022 libssl.so.1.1
PRD [root@100 lib]# mv libcrypto.so* /app/tmp/
PRD [root@100 lib]# cp /usr/lib64/libcrypto.so.1.1 .
PRD [root@100 lib]# ln -s libcrypto.so.1.1 libcrypto.so
PRD [root@100 lib]# apisix restart
/usr/local/openresty/luajit/bin/luajit /usr/local/apisix/apisix/cli/apisix.lua restart
configuration test is successful
nginx.pid exists but there's no corresponding process with pid 153400 , the file will be overwritten
检查错误日志,已没有错误日志输出