Original URL: http://stackoverflow.com/questions/9055005/cannot-find-ltinfo-when-compiling-android-4-0-3
Up vote0down Votefavorite |
Hi I had got a problem that I can ' t solve when compiling the Android source for ICS. The build gets to a certain stage and then I get the message: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../libtinfo.so when searching for -ltinfo/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../libtinfo.a when searching for -ltinfo/usr/bin/ld: skipping incompatible /usr/lib/libtinfo.so when searching for -ltinfo/usr/bin/ld: skipping incompatible /usr/lib/libtinfo.a when searching for -ltinfo/usr/bin/ld: cannot find -ltinfocollect2: ld returned 1 exit statusmake: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb] Error 1make: *** Waiting for unfinished jobs....
I have tried updating/installing Libncurses5-dev and Libtinfo-dev which were both latest versions and am a bit stuck now. How can I get rid of this to allow the build to happen properly? Android Build Compiler-errors
ShareImprove this question |
Edited Jan at 8:41Jav_rock 13.3k121 |
Asked Jan ' at 17:10fooforever 25 |
|
|
Add a Comment |
3 answersactiveoldestvotes
up vote2down voteaccepted |
I had seen similar issue with Gingerbread when compiled on 64bit Ubuntu. It got fixed with installation of Lib32ncurses5-dev and its dependencies which includes Lib32tinfo5-dev. The compiled host ADB executable with Android is a 32-bit executable. answered Feb 3 ' at 13:10 vimalesh 361
|
  |
|
this has sorted it, THANKS. –&N Bsp; fooforever feb 6 ' at 12:25 |
Add a comment |
up vote2down vote |
I had seen same problem on my Fedora 64bit, same Android branch 4.0.3 R1 you might want to try Ncurses -devel.i686 Yum Install ncurses-devel.i686 It solved my problem
shareimprove this answer |
answered jul 9 ' at 19:35 Yi Zhang 21 3 |
|
  |
Add a comment |
Up vote1down vote |
I got this issue while I am building MySQL statically. So I had to install the static versions of these libraries. For example I do run: yum search ncurses
Then I installed, yum install ncurses-static # not exactly the same syntax, but something similar; see searc
|
"Turn" cannot find-ltinfo when compiling Android 4.0.3