[Buildroot] PHP installation issues
ps.report at gmx.net
Thu Mar 25 22:28:28 UTC 2021
On Mon, 22 Mar 2021 15:13:47 +0100, Alassane <alassaneg at gmail.com> wrote:
> I have tried to generate a linux image with buildroot2020.11.1 but i'm
> having some issues after that.
> First of all, i've activated the external php extension "php-imagick" in
> target package after i run "make menuconfig".
> After that, i perform a full rebuild, reflash my sd card, launch my target
> but when i run the commande "php -m", it doesn't show me the "imagick"
> And this is the following error message i'm facing when trying to run a
> program with the "php" command : *PHP Fatal error: Uncaught Error: Class
> 'Imagick' not found*
> Also, i've selected the php "iconv" package and facing this error when i
> try to run my php program : *PHP Notice: iconv(): Unknown error (22).*
Strace output shows:
235 openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
235 openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
235 futex(0x7fb0b76864, FUTEX_WAKE_PRIVATE, 2147483647) = 0
235 write(2, "PHP Notice: iconv(): Unknown er"..., 69) = 69
Take a look at the Toolchain --> Copy gconv libraries (BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY)...
> Do you know where these issues i'm facing could potentially come from?
> Kind regards
> Thank you
More information about the buildroot