Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583858 - dev-util/android-ndk-11c: .../prebuilt/.../bin/clang: linked to libtinfo.so.5
Summary: dev-util/android-ndk-11c: .../prebuilt/.../bin/clang: linked to libtinfo.so.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-23 10:13 UTC by Andriy Utkin (RETIRED)
Modified: 2016-06-01 13:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Utkin (RETIRED) gentoo-dev 2016-05-23 10:13:32 UTC
After installing android-ndk-11c (the latest as of now), I get this error:

/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

In my Gentoo system I have such versions of ncurses:

[IP-] [  ] sys-libs/ncurses-5.9-r101:5/5
[IP-] [  ] sys-libs/ncurses-6.0-r1:0/6

There are lib*curses*.so* files in /usr/lib/, but no libtinfo.

As a workaround, creating symlink manually works:

ln -s /usr/lib/libncursesw.so.5 /usr/lib/libtinfo.so.5
Comment 1 Jason Zaman gentoo-dev 2016-05-31 05:25:09 UTC
can you confirm if re-emerging ncurses with USE=tinfo enabled fixes this?
If it does i'll add the useflag to the deps and should fix this.
Comment 2 Andriy Utkin (RETIRED) gentoo-dev 2016-05-31 09:32:17 UTC
(In reply to Jason Zaman from comment #1)
> can you confirm if re-emerging ncurses with USE=tinfo enabled fixes this?
> If it does i'll add the useflag to the deps and should fix this.

Yes, "USE=tinfo emerge -atv =sys-libs/ncurses-5.9-r101" fixes this.
Comment 3 Jason Zaman gentoo-dev 2016-06-01 13:09:36 UTC
fixed in 11c-r1

commit b7a445ba532d4c55b8154ba3cbfb83d405c69207
Author: Jason Zaman <perfinion@g.o>
Date:   Wed Jun 1 21:04:37 2016

    dev-util/android-ndk: needs dep ncurses[tinfo] bug 583858