Termux-pod / termux-pod

Containing debfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run error: CANNOT LINK EXECUTABLE "php": library "libicuio.so.67" not found: needed by main executable

harusakura924 opened this issue · comments

I installed using the following syntax:

$ pkg upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
...
(Too long omitted)
...
Setting up vim (8.2.2800) ...
Setting up libuv (1.41.0) ...
Setting up inetutils (1.9.4-11) ...
Setting up libexpat (2.3.0) ...
Setting up libsqlite (3.35.5-1) ...
Setting up command-not-found (1.61) ...
Setting up libjpeg-turbo (2.1.0) ...
Setting up git (2.31.1) ...
Setting up nano (5.7) ...
Setting up oniguruma (6.9.7) ...
Setting up apache2 (2.4.47) ...
Setting up libtiff (4.3.0) ...
Setting up libgd (2.3.2) ...
Setting up php (8.0.6) ...
Setting up php-apache (8.0.6) ...

$ cd ~/tmp/

$ git clone https://github.com/Termux-pod/termux-pod.git
Cloning into 'termux-pod'...
remote: Enumerating objects: 149, done.
remote: Counting objects: 100% (60/60), done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 149 (delta 9), reused 0 (delta 0), pack-reused 89
Receiving objects: 100% (149/149), 130.29 MiB | 91.00 KiB/s, done.
Resolving deltas: 100% (23/23), done.

$ cd termux-pod/arch64/Php7/

$ dpkg -i php_7.4.12_aarch64.deb
dpkg: warning: downgrading php from 8.0.6 to 7.4.12
(Reading database ... 21646 files and directories currently installed.)
Preparing to unpack php_7.4.12_aarch64.deb ...
Unpacking php (7.4.12) over (8.0.6) ...
Setting up php (7.4.12) ...
dpkg: warning: symbolic link '/data/data/com.termux/files/usr/var/service/php-fpm/log/run' size has changed from 66 to 62

$ dpkg -i  php-apache_7.4.12_aarch64.deb
dpkg: warning: downgrading php-apache from 8.0.6 to 7.4.12
(Reading database ... 21642 files and directories currently installed.)
Preparing to unpack php-apache_7.4.12_aarch64.deb ...
Unpacking php-apache (7.4.12) over (8.0.6) ...
Setting up php-apache (7.4.12) ...

$ dpkg -i php-fpm_7.4.12_aarch64.deb
dpkg: warning: downgrading php-fpm from 8.0.6 to 7.4.12
(Reading database ... 21642 files and directories currently installed.)
Preparing to unpack php-fpm_7.4.12_aarch64.deb ...
Unpacking php-fpm (7.4.12) over (8.0.6) ...
Setting up php-fpm (7.4.12) ...
Installing new version of config file /data/data/com.termux/files/usr/etc/php-fpm.d/www.conf ...

$ dpkg -i php-pgsql_7.4.12_aarch64.deb
dpkg: warning: downgrading php-pgsql from 8.0.6 to 7.4.12
(Reading database ... 21642 files and directories currently installed.)
Preparing to unpack php-pgsql_7.4.12_aarch64.deb ...
Unpacking php-pgsql (7.4.12) over (8.0.6) ...
Setting up php-pgsql (7.4.12) ...

The following error occurred:

$ php --version
CANNOT LINK EXECUTABLE "php": library "libicuio.so.67" not found: needed by main executable

Device related information:

$ uname -m
aarch64
$ termux-info
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://ipfs.io/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx/ stable main
# game-repo (sources.list.d/game.list)
deb https://grimler.se/game-packages-24 games stable
# science-repo (sources.list.d/science.list)
deb https://grimler.se/science-packages-24 science stable
Updatable packages:
php-apache/stable 8.0.6 aarch64 [upgradable from: 7.4.12]
php-fpm/stable 8.0.6 aarch64 [upgradable from: 7.4.12]
php-pgsql/stable 8.0.6 aarch64 [upgradable from: 7.4.12]
php/stable 8.0.6 aarch64 [upgradable from: 7.4.12]
Android version:
11
Kernel build information:
Linux localhost 4.19.113-21375755 #1 SMP PREEMPT Wed Apr 7 14:48:01 KST 2021 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-T870

Please help me i need php7, Thank you.

commented

These libs worked well for me, for [aarch64] Architecture.
https://github.com/rdhoni/php7

Now I'm searching for [armv7] Architecture.

Closing as php7 is now available in termux official repository. You can install it via pkg
pkg install php7