question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

apk build error: libtinfo.so.5: cannot open shared object file: No such file or directory

See original GitHub issue

p4a version: git master os: opensuse tumbleweed

I tried to build apk with command: p4a apk --private /home/z/pproj/paradox_ssh/ --version=1.7 --bootstrap=sdl2 --local-recipes=./recipes --requirements=python3,kivy-async,openssl,sqlite3,pil,requests,sdl2,plyer --whitelist=./whitelist.txt --permission=CALL_PHONE --permission=INTERNET --orientation=portrait --package=org.spbelect.paradox2 --name="paradox2" --release

got an error about missing lib, which i could not find in my distro:

libtinfo.so.5: cannot open shared object file: No such file or directory

full p4a log: https://gist.github.com/Fak3/c6db4050eca33b9c7571c1e508f54f24

I wonder what is this lib and is there any way to resolve this dependency?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AndreMirascommented, Jun 10, 2019

Yes I would definitely just install this system library. On Ubuntu it’s via:

sudo apt install libtinfo5

And probably also:

sudo apt install libncurses5-dev libncursesw5-dev

The issue was also described in https://github.com/kivy/buildozer/issues/841 Addressing https://github.com/kivy/python-for-android/issues/1750 should help with this kind of issues.

0reactions
RMKDcommented, Sep 29, 2019

you can also create a symlink so that 5 points to 6 (ln -s /usr/lib/libtinfo.so.6 /usr/lib/libtinfo.so.5) - probably there’s a command somewhere that just needs to be more general.

Read more comments on GitHub >

github_iconTop Results From Across the Web

clang: error while loading shared libraries: libtinfo.so.5: cannot ...
I had the same problem on Debian Buster. Installing the Debian package libncurses5 solved it for me: $ sudo apt install libncurses5.
Read more >
ERROR: "libtinfo.so.5: cannot open shared object file - Search
ERROR : "libtinfo.so.5: cannot open shared object file: No such file or directory" while performing DataVault upgrade from Data Archive 6.5 ...
Read more >
error while loading shared libraries: libtinfo.so.5
error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory.
Read more >
Due to development build changes in IDL 8.8.0 and ENVI 5.6 ...
How to resolve a libtinfo.so error when launching ENVI 5.6/IDL 8.8 on Linux ... libtinfo.so.5: cannot open shared object file: No such file...
Read more >
Files · master · savoirfairelinux / jami-client-android · GitLab
When building the apk error in build-tools error while loading shared ... libtinfo.so.5: cannot open shared object file: No such file or directory...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found