Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: CANNOT LINK EXECUTABLE "php": cannot locate symbol "__extenddftf2" referenced by "/data/data/com.termux/files/usr/bin/php"... Aborted #8105

Closed
ghost opened this issue Dec 1, 2021 · 2 comments · Fixed by #8106
Labels
bug report Something is not working properly

Comments

@ghost
Copy link

ghost commented Dec 1, 2021

Problem description

Termux

When going to run the PHP program from Termux (when executing the "$ php" command) an error occurred which I don't know why, the error message:

CANNOT LINK EXECUTABLE "php": cannot locate symbol "__extenddftf2" referenced by "/data/data/com.termux/files/usr/bin/php"...
Aborted

PHP version : 8.1.0

$ termux-info

Application version:
0.117
Packages CPU architecture:
aarch64
Subscribed repositories:
sources.list
deb https://packages.termux.org/apt/termux-main/ stable main
science-repo (sources.list.d/science.list)
deb https://packages.termux.org/apt/termux-science science stable
game-repo (sources.list.d/game.list)
deb https://packages.termux.org/apt/termux-games games stable
Updatable packages:
All packages up to date
Android version:
8.1.0
Kernel build information:
Linux localhost 3.18.71-perf-g5c5b6e3 #1 SMP PREEMPT Tue Nov 5 23:37:25 WIB 2019 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi 5A

What steps will reproduce the bug?

I don't know how to fix it, can you guys help me?

What is the expected behavior?

No response

System information

termux-info:

Application version:
0.117
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages.termux.org/apt/termux-main/ stable main
# science-repo (sources.list.d/science.list)
deb https://packages.termux.org/apt/termux-science science stable
# game-repo (sources.list.d/game.list)
deb https://packages.termux.org/apt/termux-games games stable
Updatable packages:
All packages up to date
Android version:
8.1.0
Kernel build information:
Linux localhost 3.18.71-perf-g5c5b6e3 #1 SMP PREEMPT Tue Nov 5 23:37:25 WIB 2019 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi 5A
@ghost ghost added the bug report Something is not working properly label Dec 1, 2021
@xtkoba
Copy link
Contributor

xtkoba commented Dec 1, 2021

Seems like the same as #8029.

@kekecoder
Copy link

I was having this issue too when I upgraded to the latest release of PHP, it turns out that the Termux version I was using was downloaded from Google playstore, all i did was to uninstalled it, downloaded the latest version from F-Droid, it worked fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants