尊龙凯时人生就是搏

ÉîÈëÏàʶLinux ldconfig

Linux ldconfig ÊÇÒ»¸öÓÃÓÚ¶¯Ì¬Á´½Ó¿âÖÎÀíµÄ¹¤¾ß £¬¿ÉÒÔ×ÊÖúϵͳÔÚÔËÐÐʱÕÒµ½²¢¼ÓÔع²Ïí¿â¡£ËüÖ÷ÒªÓÃÓÚ¸üÐÂϵͳµÄ¶¯Ì¬Á´½ÓÆ÷ÔËÐÐʱÅþÁ¬¿â»º´æ £¬ÒÔ°ü¹Ü³ÌÐò¿ÉÒÔ׼ȷÁ´½Óµ½¹²Ïí¿â¡£

ldconfig Ö÷ÒªÓÃÓÚÁ½¸ö·½Ã棺һÊÇÌí¼Ó¡¢É¾³ý¹²Ïí¿â·¾¶ £¬²¢¸üÐÂÏà¹ØÐÅÏ¢µ½ÉèÖÃÎļþÖÐ £»¶þÊÇƾ֤ÉèÖÃÎļþÖеÄ·¾¶ÖØÐÂÌìÉú¶¯Ì¬ÅþÁ¬¿âÁ´½ÓÆ÷µÄ»º´æ¡£

½ÓÏÂÀ´½«ÏÈÈÝÔõÑùʹÓà ldconfig µÄÏêϸ´úÂëʾÀý¡£

Ìí¼Ó¹²Ïí¿â·¾¶²¢¸üÐÂÉèÖÃÎļþ£º

Ê×ÏÈ £¬·­¿ªÖÕ¶Ë £¬Ê¹Óà root ȨÏÞÖ´ÐÐÒÔÏÂÏÂÁһ¸öÐµĹ²Ïí¿â·¾¶Ìí¼Óµ½ ldconfig µÄÉèÖÃÎļþÖУº

echo "/usr/local/lib" > /etc/ld.so.conf.d/localLib.conf

µÇ¼ºó¸´ÖÆ

Õâ¸öÏÂÁî»á½« “/usr/local/lib” Ìí¼Óµ½ ldconfig µÄÉèÖÃÎļþÖÐ £¬Ê¹ÏµÍ³Äܹ»Ôڸ÷¾¶ÖвéÕÒ¹²Ïí¿â¡£

½Ó×Å £¬ÔËÐÐÒÔÏÂÏÂÁî¸üРldconfig »º´æ£º

ldconfig

µÇ¼ºó¸´ÖÆ µÇ¼ºó¸´ÖÆ

ÕâÑù £¬ÏµÍ³¾Í»áÖØÐÂÌìÉú ldconfig µÄ»º´æ £¬²¢°üÀ¨ “/usr/local/lib” Õâ¸öÐµĹ²Ïí¿â·¾¶¡£

ɾ³ý¹²Ïí¿â·¾¶²¢¸üÐÂÉèÖÃÎļþ£º

ÈôÊÇÐèҪɾ³ýÒ»¸ö¹²Ïí¿â·¾¶ £¬¿ÉÒÔÖ´ÐÐÒÔÏÂÏÂÁ

rm /etc/ld.so.conf.d/localLib.conf

µÇ¼ºó¸´ÖÆ

Õâ¸öÏÂÁî»áɾ³ýÉèÖÃÎļþÖÐÌí¼ÓµÄ “/usr/local/lib” ·¾¶¡£

ÔÙ´ÎÔËÐÐ ldconfig ÏÂÁî¸üлº´æ£º

ldconfig

µÇ¼ºó¸´ÖÆ µÇ¼ºó¸´ÖÆ

ÕâÑùϵͳ¾Í»áÖØÐÂÌìÉú ldconfig µÄ»º´æ £¬²»ÔÙ°üÀ¨±»É¾³ýµÄ¹²Ïí¿â·¾¶¡£

ͨ¹ýÒÔÉÏʾÀý £¬ÎÒÃÇ¿ÉÒÔ¿´µ½ÔõÑùʹÓà ldconfig ÏÂÁîÀ´ÖÎÀíϵͳµÄ¹²Ïí¿â·¾¶ £¬È·±£ÏµÍ³Äܹ»×¼È·¼ÓÔØËùÐèµÄ¹²Ïí¿â¡£Çë×¢ÖØ £¬ÔÚÐÞ¸ÄÉèÖÃÎļþʱҪСÐÄ £¬×èÖ¹ÒýÆðϵͳÔËÐÐÎÊÌâ¡£

Ï£ÍûÒÔÉϵÄÏÈÈÝÄÜ×ÊÖúÄã¸üºÃµØÏàʶ²¢Ê¹Óà Linux ldconfig ¹¤¾ß¡£

ÒÔÉϾÍÊÇÉîÈëÏàʶLinux ldconfigµÄÏêϸÄÚÈÝ £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢ £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢ £¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是搏

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå £¬9:30-18:30 £¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ