EFForg/apkeep

Termux: "libssl.so.1.1" not found

Generator opened this issue · 7 comments

Unable to execute apkeep v0.12.0 on Termux

$ ./apkeep-aarch64-linux-android -h
CANNOT LINK EXECUTABLE "./apkeep-aarch64-linux-android": library "libssl.so.1.1" not found: needed by main executable
$ dpkg -S libssl
openssl-1.1: /data/data/com.termux/files/usr/lib/openssl-1.1/libssl.so.1.1
openssl: /data/data/com.termux/files/usr/lib/pkgconfig/libssl.pc
openssl: /data/data/com.termux/files/usr/lib/libssl.so
openssl: /data/data/com.termux/files/usr/lib/libssl.so.3
openssl-1.1: /data/data/com.termux/files/usr/lib/openssl-1.1/libssl.so
openssl-1.1: /data/data/com.termux/files/usr/lib/openssl-1.1/pkgconfig/libssl.pc
$ uname -a
Linux localhost 4.14.256-QuicksilveR-ginkgo-v2.5/8d0a0c31 #1 SMP PREEMPT Sat Apr 9 00:55:32 PDT 2022 aarch64 Android

Info:
Android: 12
Termux: 0.118.0
Apkeep: 0.12.0

The openssl-1.1 package is required, but it looks like it's not listed as a dependency in the package manager. I'll have to fix that.

For now, to get it running you can run pkg install openssl-1.1

openssl-1.1 is already installed

dpkg -S libssl.so.1.1
openssl-1.1: /data/data/com.termux/files/usr/lib/openssl-1.1/libssl.so.1.1
dpkg -s openssl-1.1
Package: openssl-1.1
Status: install ok installed
Installed-Size: 4444
Maintainer: @termux
Architecture: aarch64
Version: 1.1.1o
Replaces: openssl (<< 1.1.1m)
Depends: ca-certificates, zlib
Breaks: openssl (<< 1.1.1m)
Conflicts: libcurl (<< 7.61.0-1)
Conffiles:
 /data/data/com.termux/files/usr/etc/tls/openssl.cnf bbac4d4b5e77c1bcdb34a86c6330cacf
Description: Library implementing the SSL and TLS protocols as well as general purpose cryptography functions
Homepage: https://www.openssl.org/

If you install apkeep from the termux repository, does it work? Does it install any dependencies?

From a fresh termux install, if I install apkeep from the repository I also have to install openssl-1.1 but then it works.

I didn't know that apkeep was available on termux repo!

Yes, it works with the one provided from termux repo.

The one from GitHub doesn't.

I'll add a note in the README.md to find it in the termux repo.

Fixed in d8789ae and release 0.12.2. Downloading a binary from this release will work with all termux packages updated to the latest version via pkg update.