-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ingress-nginx/controller - Error loading shared library libjwt.so.0 #143
Comments
Unfortunately I don't have a solution, just some thoughts: It seems like the GitHub releases are compiled on Debian-based images. Because the package is linked against
As a result, the |
Related branch for experimentation (WIP): https://github.com/TeslaGov/ngx-http-auth-jwt-module/tree/issue-143 |
Have you tried adding a symlink to get around this? ln -s /path/to//libjwt0 /usr/lib64/libjwt.so.0 |
After adding the following lines to the Dockerfile, the original error did not occur:
But now I'm experiencing the following error:
I assume this is due to a mismatch of the nginx version in the k8s controller and the one the module is compiled against. |
I'm attempting to utilize this module in the k8s Nginx Ingress controller.
To achieve this, I'm creating a custom controller image as follows:
When I execute it in the k8s cluster, I encounter the following error:
nginx: [emerg] dlopen() "/etc/nginx/modules/ngx_http_auth_jwt_module.so" failed (Error loading shared library libjwt.so.0: No such file or directory (needed by /etc/nginx/modules/ngx_http_auth_jwt_module.so))
Versions
The text was updated successfully, but these errors were encountered: