Mini2440ÒÆÖ²Ncurses¿â£¨¶þ£©
ÎÒÃǽÓÏÂÀ´»á½²ÊöÈçºÎʹÎÒÃǵijÌÐòÔÚMini2440¿ª·¢°åÉÏÕý³£ÔËÐУ¨²»ÕýËã³£ÔËÐÐÒ²Ë㣬¹þ¹þ£©¡£
×¢Ò⣺ÕâÀïÒþ²ØÁËÒ»¸öÎÊÌâ
¿ÉÄÜÄãµÄÁ¬½ÓÆ÷(LD)ÈÔÈ»ÎÞ·¨ÕÒµ½ÕÒµ½libncursesµÈ¿â,ÕâÊÇÒòΪÎÒÃǵݲװĿ¼
²¢Ã»ÓаÑlib¿â°²×°µ½LD¿ÉÒÔÕÒµ½µÄµØ·½¡£ÎҵĽâ¾ö·½·¨ÊÇ°ÑncursesÏà¹ØµÄ¿âÌí¼Óµ½
/usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/usr/lib/µ±ÖУ¬ÎÒÏëÕâ¸öÓ¦¸Ã
ÊÇLDĬÈϵÄËÑË÷·¾¶ÁË¡£
ʹÓÃarm-linux-gcc±àÒëÄãµÄ³ÌÐò£¬±àÒë³É¹¦Ö®ºó¾ÍÉú³ÉÁËarmƽ̨ҪִÐеĴúÂë¡£ È»ºóÔÚ¿ª·¢°åÉÏͨ¹ýNFS¹ÒÔØÄãµÄ³ÌÐò¸æÆÆĿ¼£¨ÆäʵËæ±ãÄãÔõô¹ÒÔØÖ»ÒªÄãÄÜÕÒµ½¾ÍÐУ©¡£
Ò»°ãÀ´ËµÄã»áÓöµ½Èçϵļ¸¸öÎÊÌ⣬ÎÒÃÇÂýÂý·ÖÎö¡£
ÎÊÌâÒ»£º
libncurses(w).so.5: cannot open shared object file: No such file or directory
ÕâÊÇÒòΪÔÚMini2440¿ª·¢°åÉÏÃæÊÇûÓÐÓëNcurses¿âÓйصĶ¯Ì¬¿â»òÕß ¾²Ì¬
¿â£¬Ö»ÒªÌí¼Óµ½ÏàÓ¦µÄĿ¼¾Í¿ÉÒÔÁË¡£±ÈÈç±ÊÕßÓõľÍÊDZȽϴֲڵķ½·¨£¬Ö±½Ó½«
libncursesw.so.5,¸´ÖƵ½/lib(¸ÃĿ¼¾ÍÊÇMini2440°åµÄ¿âÎļþËùÔÚĿ¼) Ŀ¼ÏÂÃæ¡£µ±
È»Èç¹ûÄãµÄ³ÌÐòÖÐʹÓÃÁËmenua»òÕßpanel¿âµÄ»°£¬Ò²»á³öÏÖÀàËÆ µÄ´íÎóÌáʾ£¬·½·¨Í¬Ñù£¬
½«¶ÔÓ¦µÄ¿â¸´ÖƵ½/lib¼´¿É¡£ÔÚËÞÖ÷»úÆ÷µÄ/usr/local/arm/4.3.2/libÏÂÃæ¿ÉÒÔÕÒµ½ËùÐè
ÒªµÄ¿â¡£µ±È»£¬Èç¹ûÄãÏëͨ¹ýÌí¼Ó»·¾³±äÁ¿LD_LIBRARY_PATHµÄ·½Ê½½â¾öÒ²ÊÇ¿ÉÒԵġ£
ÎÊÌâ¶þ£º
Error opening terminal: vt102.
ÕâÊÇÒòΪ¿ª·¢°æÉÏ
ÃæûÓжÔÓ¦µÄÖÕ¶ËÐÅÏ¢¡£ÔËÐлùÓÚncurses¿âµÄ³ÌÐò±ØÐëÏÈÉèÖÃÖÕ¶ËÐÅÏ¢»·¾³±äÁ¿
TERMINFO£»·ñÔò»áÌáʾÕÒ²»µ½ÖÕ¶ËÐÅÏ¢¡£Õâ¸ö·½·¨Ò²¼òµ¥£¬ÔÚ¿ª·¢°åÉϽ¨Á¢Ä¿Â¼
/usr/share/terminfo£¬È»ºó½«/usr/local/arm/4.3.2/share/terminfo/v/Ŀ¼¸´ÖƵ½´Ë´¦
¾Í¿ÉÒÔÁË£¬ÀïÃæ°üº¬ÁË¿ª·¢°åµÄvt102ÖÕ¶ËÐÅÏ¢£¬µ±È»»¹ÓÐÆäËüºÜ¶à²»Í¬¸÷ÀàµÄÖÕ¶ËÐÅÏ¢£¬
Èç¹ûÄãΪÁ˼õС¿Õ¼äÕ¼Ó㬿ÉÒÔÖ»¸´ÖÆvt102Ïà¹ØµÄÎļþ£¬È»ºóÔÚµ±Ç°µÄshell»·¾³ÖÐÌí¼Ó
»·¾³±äÁ¿¡£
# export TERMINFO=/usr/share/terminfo
ÎÊÌâÈý£ºÖÐÎÄÂÒÂë
ÕâÒ²ÊÇÒ»¸öÏ൱¼¬ÊÖµÄÎÊÌ⣬µ«ÊÇÔÚPCÉÏÃæÎÒÒѾ½â¾öÁË£¬Çë²Î¼ûÎÒµÄÏÂһƪÎÄÕ¡£Èç¹û
ÄãÖªµÀÈç¹ûÔÚMini2440¿ª·¢°åÖÕ¶ËÕý³£ÏÔʾNcurses³ÌÐòµÄÖÐÎÄ£¬ÄÇÎҷdz£»¶ÓÄã¸øÎÒÒÔ½â
´ð£¬ÒòΪÕâ¸öÎÊÌâ¿à¿àÀ§ÈÅÁËÎҺܾ㬵½Ä¿Ç°ÈÔδÓнâ¾ö·½°¸¡£ÎÒÒ»Ö±ºÜÓôÃÆ¡£
µ½ÕâÀïÎÒÃǾͽ²ÍêÁËÈçºÎÒÆÖ²Ncursesµ½Mini2440¿ª·¢°åÉÏ£¬²¢ÈÃÎÒÃǵÄncurses³Ì Ðò·ÇÕý³£ÔËÐУ¨ÖÐÎÄÂÒÂëδÔø½â¾ö£©¡£»¹Çë¸ßÈ˼۴ͽ̡£
ÍƼöÐÅÏ¢
- linuxÃüÁîѧϰ±Ê¼Ç£¨11£©£ºnlÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨5£©£ºrmÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨4£©£ºmkdirÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨1£©£ºlsÃüÁî
- ½«CentosµÄyumÔ´¸ü»»Îª¹úÄڵİ¢ÀïÔÆÔ´
- ʹÓÃNginxÌí¼Óheader·ÀÖ¹ÍøÒ³±»frame
- linuxϼÓËÙscp´«Êä´óÎļþµÄËÙ¶È
- linuxϵͳÉ϶ÔnginxÈÕÖ¾·Ö¸î´¦Àí
- lnmp/nginxϵͳÕæÕýÓÐЧµÄͼƬ·ÀµÁÁ´ÍêÕûÉèÖÃÏê½â
- Í»ÆÆÊ®Íò²¢·¢µÄNginxµÄÅäÖü°ÓÅ»¯
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- ²éÕÒ²¢É¾³ý.svnĿ¼Îļþ
- redis ÆßÖÖÊý¾ÝÀàÐ͵ÄʹÓó¡¾°
- linux ÏÂÎļþ¸´ÖƵ½windowsÏÂÂÒÂëµÄ½â¾ö°ì·¨
- nginx³öÏÖ502 upstream sent too big he....
- linuxÏÂsudoÅäÖÃÏê½â
- linuxÃüÁîѧϰ±Ê¼Ç£¨15£©£ºtailÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨14£©£ºheadÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨13£©£ºlessÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨12£©£ºmoreÃüÁî
- ¼ÓÃÜËã·¨±È½Ï3DES AES RSA ECC MD5 SHA1µÈ
ÆÀÂÛ