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

mpv: CANNOT LINK EXECUTABLE #572

Closed
rqcy opened this issue Dec 1, 2016 · 21 comments
Closed

mpv: CANNOT LINK EXECUTABLE #572

rqcy opened this issue Dec 1, 2016 · 21 comments
Labels
bug report Something is not working properly mpv

Comments

@rqcy
Copy link

rqcy commented Dec 1, 2016

I get the following error when starting mpv:

$ mpv
CANNOT LINK EXECUTABLE: cannot locate symbol "avcodec_send_packet" referenced by "/data/data/com.termux/files/usr/libexec/mpv"...
page record for 0xb6e0404c was not found (block_size=64)
@fornwall
Copy link
Member

fornwall commented Dec 1, 2016

@rqcy Can you run apt update && apt upgrade to ensure that you have the latest version of packages and try again?

@rqcy
Copy link
Author

rqcy commented Dec 1, 2016 via email

@fornwall fornwall added the bug report Something is not working properly label Dec 3, 2016
@fornwall
Copy link
Member

fornwall commented Dec 3, 2016

@rqcy Which device are you running and on which Android version? Are you running a custom rom?

@rqcy
Copy link
Author

rqcy commented Dec 3, 2016 via email

@mauforonda
Copy link

I'm getting the same error every time I try to launch mpv on Android 7.1.1 (CM 14.1). Attached are the relevant strace and catlog outputs.

avcodec_send_packet_strace.txt
avcodec_send_packet_logcat.txt

@boay
Copy link

boay commented Jan 16, 2017

simmilar error:

-phone galaxy gt-i9505 ; -os android 6-0.1 -cm 13.0-20161218-NIGHTLY-jfltexx

when i set mpv as videoplayer in mpsyt it responds:

CANNOT LINK EXECUTABLE: cannot locate symbol "avcodec_send_packet" referenced by "/data/data/com.termux/files/usr/libexec/mpv"...
page record for 0xb6dfe04c was not found (block_size=64)
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/mpsyt", line 11, in
sys.exit(main.main())
File "/data/data/com.termux/files/usr/lib/python3.5/site-packages/mps_youtube/main.py", line 141, in main
if matchfunction(i.function, i.regex, userinput):
File "/data/data/com.termux/files/usr/lib/python3.5/site-packages/mps_youtube/main.py", line 64, in matchfunction
func(*matches)
File "/data/data/com.termux/files/usr/lib/python3.5/site-packages/mps_youtube/commands/config.py", line 60, in setconfig
message = config[key.upper()].set(val)
File "/data/data/com.termux/files/usr/lib/python3.5/site-packages/mps_youtube/config.py", line 138, in set
checked = self.check_fn(value)
File "/data/data/com.termux/files/usr/lib/python3.5/site-packages/mps_youtube/config.py", line 247, in check_player
util.load_player_info(player)
File "/data/data/com.termux/files/usr/lib/python3.5/site-packages/mps_youtube/util.py", line 388, in load_player_info
g.mpv_version = _get_mpv_version(player)
File "/data/data/com.termux/files/usr/lib/python3.5/site-packages/mps_youtube/util.py", line 406, in _get_mpv_version
o = subprocess.check_output([exename, "--version"]).decode()
File "/data/data/com.termux/files/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/data/data/com.termux/files/usr/lib/python3.5/subprocess.py", line 708, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['mpv', '--version']' returned non-zero exit status 1

@fornwall
Copy link
Member

@rqcy @f0random @boay Does updating to the latest 0.24.0-1 version of mpv with apt update && apt upgrade fix the issue?

@mauforonda
Copy link

No, the problem persists on 0.24.0-1 for me

@fornwall
Copy link
Member

@f0random Sorry, there was a mistake in the last update, can you try updating again (this time to 0.24.0-2) and see if that helps? Thanks for the help!

@mauforonda
Copy link

It works beautifully, thanks for your work

@rqcy
Copy link
Author

rqcy commented Feb 22, 2017 via email

@ejaquay
Copy link

ejaquay commented Jun 26, 2018

$ apt
CANNOT LINK EXECUTABLE "apt": cannot locate symbol "_Unwind_Resume" referenced by "/data/data/com.termux/files/usr/bin/apt"...
Aborted

$ termux-info
Aborted <-----------!
Updatable packages:
All packages up to date
System information:
Linux localhost 3.18.71-13527040 #1 SMP PREEMPT Wed May 16 17:00:07 KST 2018 aarch64 Android
Termux-packages arch:
aarch64
Android version:
8.0.0
Device manufacturer:
samsung
Device model:
SAMSUNG-SM-G930A
Ph$

Now what?

@fornwall
Copy link
Member

@ejaquay Run:

busybox wget http://termux.net/dists/stable/main/binary-aarch64/apt_1.4.8-5_aarch64.deb
dpkg -i apt_1.4.8-5_aarch64.deb

This fixes apt. Then run pkg up to retrieve the latest packages!

@JaiKumar-xP
Copy link

JaiKumar-xP commented Apr 26, 2019

CANNOT LINK EXECUTABLE: cannot locate symbol "avcodec_alloc_frame" referenced by "/system/lib64/libffscanner_plugin.so"...
page record for 0x7f9ad0e390 was not found (block_size=64)

I'm running on marshmallow os and my phone is not rooted please help me with this
Device:letv le1

@GMANNMODS
Copy link

CANNOT LINK EXECUTABLE "cat": cannot locate symbol "iconv_open" referenced by "/data/data/com.termux/files/usr/bin/coreutils"...
Aborted

@GMANNMODS
Copy link

If anyone can help with the above issue I would greatly appreciate it... I'm running samsung smg930v NOT rooted kali linux nethunter installed... the problem happened after trying to install the metasploit framework... if that helps? Please help.

@GMANNMODS
Copy link

Oh I'm on 8.0 oreo

@yudi1999
Copy link

 php
CANNOT LINK EXECUTABLE: cannot locate symbol "iconv_open" referenced by "php"...

@yudi1999
Copy link

 php
CANNOT LINK EXECUTABLE: cannot locate symbol "iconv_open" referenced by "php"...
How to fix it?

@suresmart

This comment has been minimized.

@termux termux locked and limited conversation to collaborators May 23, 2019
@fornwall
Copy link
Member

@yudi1999 @GMANNMODS Run pkg up to update packages!

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

No branches or pull requests

10 participants