-
Notifications
You must be signed in to change notification settings - Fork 40
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
Upgrading v1.1.4 -> v1.3.7 causes nginx alpine server to crash on boot #273
Comments
Hi, Zane. I don't think that dd-opentracing-cpp's plugin was ever intended to work with Alpine, but there's no reason that it shouldn't. Here are two ideas, separate from each other:
|
Thanks, @dgoffredo ... (1) worked for the immediate error, but then a new one appeared (sorry, I had copied it but forgot to respond before I lost it). I ended up going with (2) and it appears to be working now. Thanks! |
I might patch this. Full support would mean adding Alpine to our CI, which I'd say is not worthwhile for this soon-to-be-deprecated project. But a patch release wouldn't hurt. |
(this is a repost from DataDog/dd-trace-php#2265 (comment))
I maintain a Docker image based on
wordpress:phpX-fpm-alpine
. I recently upgradeddd-opentracing-cpp
from v1.1.4 to v1.3.7 (and nginx opentracing from 1.5.1 to 1.6.0). The relevant Dockerfile section is below, which is built usingdocker buildx build . --platform linux/amd64
(the only thing I changed was the ENV variables to update versions):Upon doing this, I noticed that the
libdd_opentracing.so
file moved from/usr/local/lib64
to/usr/local/lib
, so I was forced to update the nginx conf:Unfortunately, the nginx server crashes immediately due to the following error:
Due to the change in file location and inability to find the library, I wonder if the recent versions are building for the wrong architecture (?). I tried explicitly installing
idn2-utils
just to make sure, but I still get the same error.The text was updated successfully, but these errors were encountered: