Skip to content

pdo_oci config.m4 checks are always false on Alpine #523

@mvorisek

Description

@mvorisek

Version of install-php-extensions

latest

Error description

On Alpine images, all pdo_oci config.m4 checks are always false:

checking if we're at 64-bit platform... yes
checking Oracle version... 21.1
checking for oci.h... /usr/lib/oracle/21.1/client64/lib/sdk/include
checking for OCIEnvCreate in -lclntsh... no
checking for OCIEnvNlsCreate in -lclntsh... no
checking for OCIStmtFetch2 in -lclntsh... no
checking for PDO includes... /usr/local/include/php/ext

source: https://github.com/mvorisek/image-php/runs/5451037385?check_suite_focus=true#step:4:3978

but on Debian images, these checks are non-false:

checking if we're at 64-bit platform... yes
checking Oracle version... 21.1
checking for oci.h... /usr/lib/oracle/21.1/client64/lib/sdk/include
checking for OCIEnvCreate in -lclntsh... yes
checking for OCIEnvNlsCreate in -lclntsh... yes
checking for OCIStmtFetch2 in -lclntsh... yes
checking for PDO includes... /usr/local/include/php/ext

source: https://github.com/mvorisek/image-php/runs/5451038354?check_suite_focus=true#step:4:3293

the usage of this installer is like:

install-php-extensions pdo_oci

if the config.m4 checks are false, multibyte support is broken

as the Oracle Instant Client libs are installed the same on both platforms, I expect the config.m4 checks to be the same too (same on Alpine as on Debian)

maybe something needs to be added to the PATH on Alpine

Docker image

see desc

Minimal Dockerfile

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions