-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I am encountering an issue with the "load_module" directive in my nginx.conf file while using the source code from tag v1.0.0 of the DataDog repository. I am running the code inside a Docker image based on python:3.8.12-slim-buster
.
Here are the steps I followed:
- Cloned the DataDog/nginx-datadog repository.
- Checked out the
v1.0.0
tag. - Executed the
bin/install_build_tooling.sh
script to install the necessary build tooling. - Created a
nginx-version-info
file and setNGINX_VERSION=1.14.2
in it. - Ran
make build
to build the code successfully. - Updated the nginx.conf file to include the required module.
Attempted to start the application, but encountered the following error:
nginx: [emerg] module "libngx_http_datadog_module.so" is not binary compatible in /docker/webapp/nginx.conf:2
I have double-checked the syntax and path to the module file, ensuring they are correct. However, the error persists. I also removed --with-compat
option in Makefile to see if it changes, but the error still persists.
Could you please provide guidance on how to troubleshoot and resolve this error based on the procedures I followed?