½ñÌìÔÚ×ösuseµÄbash Éý¼¶µÄʱºò£¬¸Õ¿ªÊ¼ÊÇÓÃÒ»¸ötar°ü£¬Ö´ÐÐÍê³Éºó·¢ÏÖ°æ±¾ÊÇÎÒ°²×°µÄ°æ±¾£¬µ«ÓÃbash©¶´¼ì²âµÄʱºò·¢ÏÖÊä³ö»¹ÊDz»¶Ô¡£
È»ºóÓÖÔÚÍøÉÏÕÒÁËÒ»¸örpm°ü½øÐа²×°£¬¸Õ¿ªÊ¼°²×°µÄʱºòÌáʾ˵ÓÐÒÀÀµ¹Øϵ£¬È»ºó¾ÍÇ¿ÖÆ°²×°ÉÏÁË¡£
°²×°ÉϺó¸Õ¿ªÊ¼·¢ÏÖÖ±½ÓÎÞ·¨µÇ¼£¬µ«¿ÉÒÔͨ¹ýÆäËûµÄ·þÎñÆ÷Ìøת¡£
ºóÀ´ÔÚ²Ù×÷Öв»ÖªÕ¦µÄ£¬×Ô¼º¾Í¶Ï¿ªÁ¬½ÓÁË£¬ÔڵȾÍÎÞ·¨µÇ¼ÁË
ÌáʾÈçÏ´íÎó£º
-bash: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
ÏÖÔÚ³õ²½»³ÒÉ¿ÉÄÜÊÇ×îºóÇ¿ÖÆ°²×°µÄÒ»¸örpm°üÓйØϵ£¬Ïë°ÑÄǸö°ü¸øжÔØÁË¡£
ÎÊÌâÊÇ£º
1¡¢ÎÞ·¨Í¨¹ýÆäËûµÄ·þÎñÆ÷Ìøתµ½¸Ã·þÎñÆ÷£»
2¡¢ÔÚ·þÎñÆ÷ÉÏÖ±½ÓµÇ¼Ҳ²»ÐУ»
Ŀǰϵͳ°æ±¾ÊÇ£º
SUSE LINUX enterprise 11 64bit
ÏÖÔÚÓиöÏë·¨¾ÍÊÇ°Ñ·þÎñÆ÷ÖØÐÂÆô¶¯£¬È»ºó½øÈëµ¥Óû§Ä£Ê½Ï£¬²»ÖªµÀÄÜ·ñ²Ù×÷¡£
Çë¸÷λ¸ßÊÖ°ï°ï棬²»È»¾ÍҪʧҵÁË¡£¡£¡£
±¾ÈËÊǵÚÒ»´Î½Ó´¥suseϵͳ£¬Çë¸÷λ¸ßÊÖ²»Áߴͽ̡£
Ä¿Ç°×î´óµÄÎÊÌâ¾ÍÊÇÎÞ·¨µÇ¼ϵͳ²Ù×÷½çÃ棬²¢ÇÒÔ¶³ÌÒ²ÎÞ·¨Á¬½Ó¡£
Á¬½Ó¾Í±¨´í£º
-bash: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
Ö±½ÓÔÚ·þÎñÆ÷ÉÏÊäÈëÓû§ÃûºÍÃÜÂëºó µã»÷µÇ¼£¬ÆÁÄ»¾ÍÉÁһϣ¬È»ºóÓֻص½ÁËÊäÈëÓû§ÃûºÍÃÜÂëµÄ½çÃæ¡£
ʹÓõÄÊÇÕâ¸ö°ü
bash-4.2-68.4.1.x86_64.rpm
°²×°·½·¨ÊÇ£º
rpm -Uvh bash-4.2-68.4.1.x86_64.rpm --nodeps --force
È»ºó¾ÍÎÞ·¨µÇ¼ÁË¡£
¾Í±¨ÉÏûµÄ´íÎó¡£
technicdove ÓÚ 2014-10-23 15:25:53·¢±í:
ÕâÂÛ̳Ҳ̫ÀäÇåÁË¡£º¹£¬£¬£¬