Seems like gdb was compiled with gdb-tui, a Ncurses version of gdb..., just doing a link of libtermcap.so or libncurses.so to libtinfo.so.5 works
Anyways, i cant make an app works... thats happens:
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3...