XW512 commented on issue #12534:
URL: https://github.com/apache/apisix/issues/12534#issuecomment-3204776199

   > The error about `undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b` 
points to a mismatch between the OpenSSL version expected by a native library 
(likely `lualdap` or a dependency like `libk5crypto.so.3`) and the OpenSSL 
libraries actually present on your system. This isn't caused by APISIX code or 
plugin logic, but by how native libraries are linked and loaded in your 
environment.
   > 
   > APISIX and its plugins don't hardcode or manage OpenSSL linkage 
directly—they rely on the OS and package manager to resolve native 
dependencies. OpenResty maintains its own patched OpenSSL package, and version 
mismatches can happen if a native module (like `lualdap`) was built against a 
different OpenSSL version than what is loaded at runtime, or if the system 
OpenSSL is being picked up instead of the bundled one [see 
here](https://api7.ai/learning-center/openresty/hello-world-in-openresty).
   > 
   > To troubleshoot:
   > 
   > * Check which OpenSSL library is actually being loaded at runtime (e.g., 
with `ldd /usr/local/apisix/deps/lib/lua/5.1/lualdap.so`).
   > * Make sure all native modules (especially `lualdap`) are built against 
the same OpenSSL version as provided by `openresty-openssl111`.
   > * Ensure your `LD_LIBRARY_PATH` includes the directory for the correct 
OpenResty OpenSSL libraries before starting APISIX.
   > * If you have a system-wide OpenSSL (like 1.1.1k FIPS) and a bundled 
OpenResty OpenSSL (1.1.1w), conflicts can occur—try rebuilding or reinstalling 
`lualdap` so it links against the correct OpenSSL.
   > 
   > There are no known APISIX-side fixes or configuration options for this; 
the solution is to align your native library builds and runtime environment.
   > 
   > _Written by [@dosu](https://github.com/dosu), approved by moonming_
   > 
   > _To reply, just mention [@dosu](https://go.dosu.dev/dosubot)._
   > 
   > How did I do? 
[Good](https://app.dosu.dev/response-feedback/cd5381f1-a54b-42e9-b0f7-a52191f1c92f?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/cd5381f1-a54b-42e9-b0f7-a52191f1c92f?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/cd5381f1-a54b-42e9-b0f7-a52191f1c92f?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/cd5381f1-a54b-42e9-b0f7-a52191f1c92f?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/cd5381f1-a54b-42e9-b0f7-a52191f1c92f?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/cd5381f1-a54b-42e9-b0f7-a52191f1c92f?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/cd5381f1-a54b-42e9-b0f7-a52191f1c92f?feedback_type=other)
  [![Chat with 
Dosu](https://camo.githubusercontent.com/d9ffebb979729c9ef0fc4e3090dbae5b17cabbfec8afe378ada6b81913d6ad8a/68747470733a2f2f646f73752e6465762f
 
646f73752d636861742d62616467652e737667)](https://app.dosu.dev/6aff3395-54f4-4ca2-8624-021d21c2f031/ask?utm_source=github)
 [![Join 
Discord](https://camo.githubusercontent.com/d562c2df5e4567ea41d37f1d91a4da0839d8341037045b103b2da268998de17f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a6f696e2d3538363546323f6c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d)](https://go.dosu.dev/discord-bot)
 [![Share on 
X](https://camo.githubusercontent.com/4649f705e2396d6f328dbc8e800a0509c9c17b3b20253b36706c393df124b93d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f582d73686172652d626c61636b)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/apisix/issues/12534)
   
   Thank you for your reply. Can I comment out the LDAP plugin as I am not 
currently using it? Also, I would like to ask if the apisix3 version has been 
consistently packaged


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to