Skip to content

Static build fails trying to open the dynamic library #359

@pi-alexander-popel

Description

@pi-alexander-popel

While building with $BuildMethod = 'static' in CI (equivalent to passing STATIC_BUILD=1 to make) integration tests fail with:

nginx: [emerg] dlopen() "/home/runner/work/device-detection-nginx/device-detection-nginx/device-detection-nginx/build/modules/ngx_http_51D_module.so" failed (/home/runner/work/device-detection-nginx/device-detection-nginx/device-detection-nginx/build/modules/ngx_http_51D_module.so: cannot open shared object file: No such file or directory) in /home/runner/work/device-detection-nginx/device-detection-nginx/device-detection-nginx/build/nginx.conf:4

https://github.com/51Degrees/device-detection-nginx/actions/runs/23242527139/job/67583205136#step:5:2078

Because of this static build is currently disabled:

# BuildMethod = "static"

Metadata

Metadata

Assignees

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