Skip to content

Installing on Alpine 3.5 fails to enable extension #381

@carflo

Description

@carflo

To reproduce run docker build with the following Dockerfile:

FROM alpine:3.5

RUN apk --no-cache add \
        bash curl php5 libc6-compat \
        && ln -s /etc/php5 /etc/php

ENV DDTRACE_VERSION=0.16.1

RUN cd $(mktemp -d) \
    && curl -Lo datadog-php-tracer.apk https://github.com/DataDog/dd-trace-php/releases/download/${DDTRACE_VERSION}/datadog-php-tracer_${DDTRACE_VERSION}_noarch.apk \
    && apk add datadog-php-tracer.apk --allow-untrusted \
    && rm datadog-php-tracer.apk

Error:

PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/datadog-php/extensions/ddtrace-20131106.so' - Error relocating /opt/datadog-php/extensions/ddtrace-20131106.so: backtrace: symbol not found in Unknown on line 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    c-extensionApply this label to issues and prs related to the C-extensioncat:installationIssues while installing the tracer🐛 bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions