Termux-ADB icon indicating copy to clipboard operation
Termux-ADB copied to clipboard

CANNOT LINK EXECUTABLE "wget": library "libssl.so.3" not found: needed by main executable

Open mmocnak opened this issue 3 years ago • 7 comments

Hi, I received an error: CANNOT LINK EXECUTABLE "wget": library "libssl.so.3" not found: needed by main executable when I tried to install. I installed openssh before, but probably with older library. So I had to run apt upgrade I'd propose to update (common) installation command to: apt update && apt install wget && apt upgrade && wget https://github.com/MasterDevX/Termux-ADB/raw/master/InstallTools.sh && bash InstallTools.sh note: I installed termux less than a month ago, and run apt upgrade in last week or so out.txt

mmocnak avatar Mar 20 '22 18:03 mmocnak

1- $ termux-change-repo 2- select "main repository" 3- Then select "Mirror b6 BFSU" 4- Ok 5- restart your app 6- Now you can fix it.

RoushaanRj avatar May 16 '22 00:05 RoushaanRj

apt install openssl

sophisticate9008 avatar Jun 26 '22 14:06 sophisticate9008

if changing repo is not working then try apt-get update apt-get upgrade

satyam8004 avatar Jul 04 '22 17:07 satyam8004

Just type apt install openssl dude

Dorabotmaster avatar Jul 18 '22 10:07 Dorabotmaster

1- $ termux-change-repo 2- select "main repository" 3- Then select "Mirror b6 BFSU" 4- Ok 5- restart your app 6- Now you can fix it.

It work for me. Thanks!

Phong940253 avatar Aug 03 '22 13:08 Phong940253

Do "pkg update" It solved for me.

lsnnt avatar Aug 09 '22 07:08 lsnnt

apt-get update apt-get upgrade

worked

DeFi-L0g1c avatar Sep 07 '22 00:09 DeFi-L0g1c

I comment two mirrors in files /etc/apt/sources.list.d/*.list and run pkg update It is works for me.

kolserdav avatar Jan 31 '23 15:01 kolserdav

Failed with possible cause: repository is under maintenance. Any fix please.

Chrisjulius avatar Feb 06 '23 05:02 Chrisjulius

wget https://nmap.org/dist/nmap-6.49BETA4.tar.bz2

tar xvf nmap-6.49BETA4.tar.bz2

cd nmap-6.49BETA4/

./configure

make

make install

antoniofera avatar Feb 11 '23 19:02 antoniofera

Just type apt install openssl dude

@Dorabotmaster Thanks!

okineadev avatar Mar 01 '23 18:03 okineadev

1- $ termux-change-repo 2- select "main repository" 3- Then select "Mirror b6 BFSU" 4- Ok 5- restart your app 6- Now you can fix it.

It work for me.

symbian1symbian1off avatar Mar 14 '23 12:03 symbian1symbian1off

1- $ termux-change-repo 2- select "main repository" 3- Then select "Mirror b6 BFSU" 4- Ok 5- restart your app 6- Now you can fix it.

Thanks!

symbian1symbian1off avatar Mar 14 '23 12:03 symbian1symbian1off

@mmocnak i think you accidentally raised the issue as you have already solved the issue see carefully the text message "out.txt" that you sent in last few lines you run a command apt upgrade and it solved the the problem

~ $ apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  gettext glib libcroco libffi libtasn1 libxml2 p11-kit
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  openssl-1.1
The following packages will be upgraded:
  apt ca-certificates command-not-found curl dash debianutils dialog dpkg ed findutils gawk krb5 ldns
  libcrypt libcurl libdb libexpat libgmp libgnutls libmpfr libnghttp2 libssh2 libunistring libxml2 nano
  openssh openssl openssl-tool rsync termux-auth termux-licenses termux-tools unbound util-linux
34 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.2 MB of archives.
After this operation, 303 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 dpkg aarch64 1.21.1-1 [289 kB]
Get:2 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 findutils aarch64 4.9.0 [240 kB]
Get:3 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libcurl aarch64 7.82.0 [908 kB]
Get:4 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 curl aarch64 7.82.0 [172 kB]
Get:5 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libnghttp2 aarch64 1.47.0 [91.6 kB]
Get:6 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 openssl aarch64 3.0.2 [1581 kB]
Get:7 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 openssl-tool aarch64 3.0.2 [245 kB]
Get:8 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 ca-certificates all 1:2022.02.01 [221 kB]
Get:9 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libssh2 aarch64 1.10.0-2 [182 kB]
Get:10 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libgmp aarch64 6.2.1-1 [321 kB]
Get:11 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libunistring aarch64 1.0 [521 kB]
Get:12 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libexpat aarch64 2.4.7 [80.5 kB]
Get:13 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 unbound aarch64 1.13.2-3 [580 kB]
Get:14 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libgnutls aarch64 3.7.3 [686 kB]
Get:15 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 termux-licenses all 2.0-2 [52.0 kB]
Get:16 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 apt aarch64 2.4.1-1 [967 kB]
Get:17 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 dash aarch64 0.5.11.5-1 [65.6 kB]
Get:18 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libmpfr aarch64 4.1.0-1 [254 kB]
Get:19 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 gawk aarch64 5.1.1-1 [716 kB]
Get:20 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 util-linux aarch64 2.37.4 [719 kB]
Get:21 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 dialog aarch64 1.3-20220117-0 [97.6 kB]
Get:22 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 termux-tools all 0.167 [22.7 kB]
Get:23 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libcrypt aarch64 0.2-5 [8720 B]
Get:24 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 command-not-found aarch64 1.74 [165 kB]
Get:25 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 debianutils aarch64 5.7 [19.0 kB]
Get:26 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 ed aarch64 1.18 [39.4 kB]
Get:27 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 openssl-1.1 aarch64 1.1.1n [1191 kB]
Get:28 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libdb aarch64 18.1.40-3 [498 kB]
Get:29 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 krb5 aarch64 1.19.3 [894 kB]
Get:30 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 ldns aarch64 1.8.1-1 [296 kB]
Get:31 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libxml2 aarch64 2.9.13 [831 kB]
Get:32 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 nano aarch64 6.2 [216 kB]
Get:33 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 termux-auth aarch64 1.4-2 [6384 B]
Get:34 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 openssh aarch64 8.8p1-3 [748 kB]
Get:35 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 rsync aarch64 3.2.3-3 [247 kB]
Fetched 14.2 MB in 8s (1840 kB/s)
(Reading database ... 15616 files and directories currently installed.)
Preparing to unpack .../dpkg_1.21.1-1_aarch64.deb ...
Unpacking dpkg (1.21.1-1) over (1.21.1) ...
Setting up dpkg (1.21.1-1) ...
(Reading database ... 15616 files and directories currently installed.)
Preparing to unpack .../findutils_4.9.0_aarch64.deb ...
Unpacking findutils (4.9.0) over (4.8.0) ...
Setting up findutils (4.9.0) ...
(Reading database ... 15616 files and directories currently installed.)
Preparing to unpack .../libcurl_7.82.0_aarch64.deb ...
Unpacking libcurl (7.82.0) over (7.81.0) ...
Setting up libcurl (7.82.0) ...
(Reading database ... 15616 files and directories currently installed.)
Preparing to unpack .../curl_7.82.0_aarch64.deb ...
Unpacking curl (7.82.0) over (7.81.0) ...
Setting up curl (7.82.0) ...
(Reading database ... 15616 files and directories currently installed.)
Preparing to unpack .../libnghttp2_1.47.0_aarch64.deb ...
Unpacking libnghttp2 (1.47.0) over (1.46.0) ...
Setting up libnghttp2 (1.47.0) ...
(Reading database ... 15616 files and directories currently installed.)
Preparing to unpack .../openssl_3.0.2_aarch64.deb ...
Unpacking openssl (3.0.2) over (1.1.1m-1) ...
Setting up openssl (3.0.2) ...
Installing new version of config file /data/data/com.termux/files/usr/etc/tls/openssl.cnf ...
(Reading database ... 7688 files and directories currently installed.)
Preparing to unpack .../openssl-tool_3.0.2_aarch64.deb ...
Unpacking openssl-tool (3.0.2) over (1.1.1m-1) ...
Preparing to unpack .../ca-certificates_1%3a2022.02.01_all.deb ...
Unpacking ca-certificates (1:2022.02.01) over (1:2021-10-26-0) ...
Setting up ca-certificates (1:2022.02.01) ...
(Reading database ... 7688 files and directories currently installed.)
Preparing to unpack .../libssh2_1.10.0-2_aarch64.deb ...
Unpacking libssh2 (1.10.0-2) over (1.10.0) ...
Setting up libssh2 (1.10.0-2) ...
(Reading database ... 7688 files and directories currently installed.)
Preparing to unpack .../libgmp_6.2.1-1_aarch64.deb ...
Unpacking libgmp (6.2.1-1) over (6.2.1) ...
Setting up libgmp (6.2.1-1) ...
(Reading database ... 7688 files and directories currently installed.)
Preparing to unpack .../libunistring_1.0_aarch64.deb ...
Unpacking libunistring (1.0) over (0.9.10-5) ...
Setting up libunistring (1.0) ...
(Reading database ... 7690 files and directories currently installed.)
Preparing to unpack .../libexpat_2.4.7_aarch64.deb ...
Unpacking libexpat (2.4.7) over (2.4.4) ...
Setting up libexpat (2.4.7) ...
(Reading database ... 7690 files and directories currently installed.)
Preparing to unpack .../unbound_1.13.2-3_aarch64.deb ...
Unpacking unbound (1.13.2-3) over (1.13.2-1) ...
Setting up unbound (1.13.2-3) ...
(Reading database ... 7690 files and directories currently installed.)
Preparing to unpack .../libgnutls_3.7.3_aarch64.deb ...
Unpacking libgnutls (3.7.3) over (3.6.16-2) ...
Setting up libgnutls (3.7.3) ...
(Reading database ... 7690 files and directories currently installed.)
Preparing to unpack .../termux-licenses_2.0-2_all.deb ...
Unpacking termux-licenses (2.0-2) over (2.0-1) ...
Setting up termux-licenses (2.0-2) ...
(Reading database ... 7690 files and directories currently installed.)
Preparing to unpack .../apt_2.4.1-1_aarch64.deb ...
Unpacking apt (2.4.1-1) over (2.3.15) ...
Setting up apt (2.4.1-1) ...

Configuration file '/data/data/com.termux/files/usr/etc/apt/sources.list'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** sources.list (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /data/data/com.termux/files/usr/etc/apt/sources.list ...
(Reading database ... 7690 files and directories currently installed.)
Preparing to unpack .../dash_0.5.11.5-1_aarch64.deb ...
Unpacking dash (0.5.11.5-1) over (0.5.11.5) ...
Setting up dash (0.5.11.5-1) ...
(Reading database ... 7690 files and directories currently installed.)
Preparing to unpack .../libmpfr_4.1.0-1_aarch64.deb ...
Unpacking libmpfr (4.1.0-1) over (4.1.0) ...
Setting up libmpfr (4.1.0-1) ...
(Reading database ... 7690 files and directories currently installed.)
Preparing to unpack .../gawk_5.1.1-1_aarch64.deb ...
Unpacking gawk (5.1.1-1) over (5.1.1) ...
Setting up gawk (5.1.1-1) ...
(Reading database ... 7690 files and directories currently installed.)
Preparing to unpack .../util-linux_2.37.4_aarch64.deb ...
Unpacking util-linux (2.37.4) over (2.37.2-1) ...
Setting up util-linux (2.37.4) ...
(Reading database ... 7695 files and directories currently installed.)
Preparing to unpack .../dialog_1.3-20220117-0_aarch64.deb ...
Unpacking dialog (1.3-20220117-0) over (1.3-20211214-0) ...
Setting up dialog (1.3-20220117-0) ...
(Reading database ... 7695 files and directories currently installed.)
Preparing to unpack .../termux-tools_0.167_all.deb ...
Unpacking termux-tools (0.167) over (0.161) ...
Setting up termux-tools (0.167) ...
Installing new version of config file /data/data/com.termux/files/usr/etc/motd ...
(Reading database ... 7695 files and directories currently installed.)
Preparing to unpack .../libcrypt_0.2-5_aarch64.deb ...
Unpacking libcrypt (0.2-5) over (0.2-3) ...
Setting up libcrypt (0.2-5) ...
(Reading database ... 7695 files and directories currently installed.)
Preparing to unpack .../00-command-not-found_1.74_aarch64.deb ...
Unpacking command-not-found (1.74) over (1.73) ...
Preparing to unpack .../01-debianutils_5.7_aarch64.deb ...
Unpacking debianutils (5.7) over (5.5) ...
Preparing to unpack .../02-ed_1.18_aarch64.deb ...
Unpacking ed (1.18) over (1.17-4) ...
Selecting previously unselected package openssl-1.1.
Preparing to unpack .../03-openssl-1.1_1.1.1n_aarch64.deb ...
Unpacking openssl-1.1 (1.1.1n) ...
Preparing to unpack .../04-libdb_18.1.40-3_aarch64.deb ...
Unpacking libdb (18.1.40-3) over (18.1.40-2) ...
Preparing to unpack .../05-krb5_1.19.3_aarch64.deb ...
Unpacking krb5 (1.19.3) over (1.19.2-2) ...
Preparing to unpack .../06-ldns_1.8.1-1_aarch64.deb ...
Unpacking ldns (1.8.1-1) over (1.7.1-3) ...
Preparing to unpack .../07-libxml2_2.9.13_aarch64.deb ...
Unpacking libxml2 (2.9.13) over (2.9.12-1) ...
Preparing to unpack .../08-nano_6.2_aarch64.deb ...
Unpacking nano (6.2) over (6.0) ...
Preparing to unpack .../09-termux-auth_1.4-2_aarch64.deb ...
Unpacking termux-auth (1.4-2) over (1.4) ...
Preparing to unpack .../10-openssh_8.8p1-3_aarch64.deb ...
Unpacking openssh (8.8p1-3) over (8.8p1-1) ...
Preparing to unpack .../11-rsync_3.2.3-3_aarch64.deb ...
Unpacking rsync (3.2.3-3) over (3.2.3-1) ...
Setting up openssl-tool (3.0.2) ...
Setting up openssl-1.1 (1.1.1n) ...
Setting up ed (1.18) ...
Setting up command-not-found (1.74) ...
Setting up nano (6.2) ...
update-alternatives: using /data/data/com.termux/files/usr/bin/nano to provide /data/data/com.termux/files/usr/bin/editor (editor) in auto mode
Setting up termux-auth (1.4-2) ...
Setting up debianutils (5.7) ...
Setting up libdb (18.1.40-3) ...
Setting up libxml2 (2.9.13) ...
Setting up ldns (1.8.1-1) ...
Setting up krb5 (1.19.3) ...
Setting up openssh (8.8p1-3) ...
Setting up rsync (3.2.3-3) ...
~ $ wget -v
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
~ $ apt update && apt install wget && wget https://github.com/MasterDevX/Termux-ADB/raw/master/InstallTools.sh && bash InstallTools.sh
Hit:1 https://packages-cf.termux.org/apt/termux-main stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wget is already the newest version (1.21.3-1).
The following packages were automatically installed and are no longer required:
  gettext glib libcroco libffi libtasn1 libxml2 p11-kit
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2022-03-20 08:48:29--  https://github.com/MasterDevX/Termux-ADB/raw/master/InstallTools.sh
Resolving github.com... 140.82.121.3
Connecting to github.com|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/MasterDevX/Termux-ADB/master/InstallTools.sh [following]
--2022-03-20 08:48:30--  https://raw.githubusercontent.com/MasterDevX/Termux-ADB/master/InstallTools.sh
Resolving raw.githubusercontent.com... 185.199.111.133, 185.199.110.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1128 (1.1K) [text/plain]
Saving to: ‘InstallTools.sh’

InstallTools.sh            100%[======================================>]   1.10K  --.-KB/s    in 0s

2022-03-20 08:48:30 (19.7 MB/s) - ‘InstallTools.sh’ saved [1128/1128]


This script will install ADB & FastBoot Tools in Termux.

[*] Downloading wrapper script...
[*] Downloading binaries...
[*] Copying files to bin...
[*] Setting execution permissions...
[*] Creating workspace directory...
[*] Cleaning up...

Tools were successfully installed!

lsnnt avatar Mar 24 '23 04:03 lsnnt

@mmocnak now I request you to close this issue

lsnnt avatar Mar 24 '23 04:03 lsnnt

Simply install openssl dude
pkg install openssl

thealidev avatar Jul 28 '23 14:07 thealidev

Failed with possible cause: repository is under maintenance. Any fix please.

Yes same problem tried all possibilities

Saiganesh462 avatar Aug 14 '23 14:08 Saiganesh462

Failed with possible cause: repository is under maintenance. Any fix please.

Yes same problem tried all possibilities

@Saiganesh462
Install openssl dude

thealidev avatar Aug 14 '23 15:08 thealidev

Failed with possible cause: repository is under maintenance. Any fix please.

Yes same problem tried all possibilities

@Saiganesh462
Install openssl dude

Did it also bro it showing openssl is a latest version that's it

Saiganesh462 avatar Aug 14 '23 15:08 Saiganesh462

Failed with possible cause: repository is under maintenance. Any fix please.

Yes same problem tried all possibilities

@Saiganesh462
Install openssl dude

Still it's showing like this [CANNOT LINK EXECUTABLE "wget": library "libssl.so.3" not found: needed by main executable]

Saiganesh462 avatar Aug 14 '23 15:08 Saiganesh462

if changing repo is not working then try apt-get update apt-get upgrade

it worked for me thank you very much for this

MavYT29 avatar Nov 21 '23 18:11 MavYT29