Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/php7: fix mysqli, mysqlnd and pdo_mysql extensions

From: Timo Teras <timo.teras_at_iki.fi>
Date: Tue, 23 Feb 2016 09:36:49 +0200

On Tue, 23 Feb 2016 09:26:56 +0200
Valery Kartel <valery.kartel_at_gmail.com> wrote:

> 2016-02-23 9:11 GMT+02:00 Timo Teras <timo.teras_at_iki.fi>:
>
> > On Mon, 22 Feb 2016 12:56:28 +0200
> > Valery Kartel <valery.kartel_at_gmail.com> wrote:
> >
> > > - mysqli and pdo_mysql now uses system libmysqlclient library
> > > - mysqlnd now has mysqli as a backend
> >
> > does this fix #5111 also?
>
> Yes, it fixes this

Ok. Good.

> x86 build still failed with:
> >
> > ...
> > Installing PEAR
> > environment: /home/tteras/aports/testing/php7/pkg/php7/usr/share/php7/
> > PHP Warning: PHP Startup: Unable to load dynamic library
> > '/home/tteras/aports/testing/php7/src/php-7.0.3/modules/xml.so' -
> > Error loading shared
> > library /home/tteras/aports/testing/php7/src/php-7.0.3/modules/xml.so:
> > Permission denied in Unknown on line 0 [PEAR] xml extension is
> > required /home/tteras/aports/testing/php7/src/php-7.0.3/build/shtool
> >
>
> Just have no idea, why it's done well on my system and fails on
> your ...
>
> What kind of virtualization and kernel flavour do you use for your
> development ?

LXC on official builder. grsec kernel, edge x86 alpine. Nothing special.

> > Additional diagnostics:
> >
> > $ file ./src/php-7.0.3/ext/xml/.libs/xml.so
> > ./src/php-7.0.3/ext/xml/.libs/xml.so: ELF 32-bit LSB shared object,
> > Intel 80386, version 1 (SYSV), dynamically linked, not stripped
> >
> > $ ldd ./src/php-7.0.3/ext/xml/.libs/xml.so
> > ldd: ./src/php-7.0.3/ext/xml/.libs/xml.so: Not a valid dynamic
> > program
> >
> > readelf and other utils display valid data there. So I'm not sure if
> > this is something in php build, in the toolchain or in musl dynamic
> > linker.

Sounds like toolchain issue or musl ld.so issue.

Perhaps, I'll then apply the patch without the 'arch' change, and a
fixes #5111 to the commit log?


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Feb 23 2016 - 09:36:49 GMT