I figured out that if I copy this library to bootable/newinstaller/
initrd/lib/libncurses.so.5 it will be compiled into the output image.
This allows my program to not complain about not being able to access
ncurses, however the program will not run. I get an error: "Error
opening terminal: linux." I figured out that this is due to ncurses
dying in initscr(). It grabs the value in the environment variable
TERM and tries to open a new terminal. I thought maybe the terminal
running in android cannot support ncurses for some reason, but I did
get this working this past summer, so I'm not sure exactly what has
changed, if anything.
My only other thought is that maybe this ncurses binary is linked
against some other older libraries not included or now upgraded in
android-x86. If so, is there a way to recompile ncurses against the
current state of the system and include it in the output image? Since
I'm already asking, is there a specific way to do this for ANY library
that I might want to include in android?
Thanks,
Andrew
> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-x86...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
>
>
Andrew
libncurses is not used by Android-x86, except the installer.
So it is moved to the install dir.
2010/2/13 ashughes <ashu...@gmail.com>:
> Sounds possible. Or the compiled version of libncurses is looking for
> terminfo in the wrong place? What would I do to add terminfo if it's
> missing, or recompile libncurses? Any ideas?
>
Android-x86 project
http://www.android-x86.org