Skip to content

Error: "load_module" directive in nginx.conf not binary compatible #26

@takashi-osako-compass

Description

@takashi-osako-compass

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:

  1. Cloned the DataDog/nginx-datadog repository.
  2. Checked out the v1.0.0 tag.
  3. Executed the bin/install_build_tooling.sh script to install the necessary build tooling.
  4. Created a nginx-version-info file and set NGINX_VERSION=1.14.2 in it.
  5. Ran make build to build the code successfully.
  6. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions