R16Ó¦ÓóÌÐò¿âÒÀÀµÎÊÌâ½â
Ò». Ö÷»úubuntuϵͳ²é¿âÒÀÀµ£º ͨ¹ýldd ÃüÁî²éÕÒ£¬(ûÓз¾¶£¬Ö»ÓеØÖ·µÄ±íʾÒѾ¼ÓÔص½ÄÚ´æÁË)
¶þ. Ö÷»ú²éÕÒ½»²æ±àÒëµÄ³ÌÐò¿âÒÀÀµ£º ͨ¹ý½»²æ±àÒë³ÌÐòarm-openwrt-linux-readelf -d xxx-elf-file
Õâ¸ö·½·¨ÓÐÁ½¸öȱµã 1. Ö»ÄÜ¿´µ½Ö±½ÓÒÀÀµµÄ¿âÎļþ£¬ÓÐЩ¿â»¹ÒÀÀµÆäËûµÄ¿â¿´²»µ½£¬±ØÐëÔÙ´Î readelfÁË 2. ÔÚÕæÕýʵ¼ÊÔËÐеÄʱºò£¬ÕâЩ¿â²»Ò»¶¨ÕæÕý´æÔÚ¡£ Èý. С»úTinaϵͳ²éÕÒ¿âÒÀÀµ£º Ä¿Ç°tinaûÓÐldd ÃüÁî½Å±¾£¬ÎÒÃÇͨ¹ýÁ¬½ÓÆ÷ld-musl-armhf.so.1Ö±½Ó²éÕÒ ld-musl-armhf.so.1 ¨Clist xxx-elf-file
ËÄ. Èç¹ûÕÒ²»µ½¿âÕ¦°ì£¿ ±ÈÈçÎÒÃÇ°Ñlibsmartlinkd_client.so ɾ³ýºó,¾Í»á³öÏÖÏÂÈçÏÂÇé¿ö£¬ÔËÐоͻá³öÏÖÎÊÌâ
ʹÓà ld-musl-armhf.so.1 ͬÑù³öÏÖÕÒ²»µÄÎÊÌâ¡£
½â¾ö¶Ô²ß£º 1. ȱʧ¿â¨CÌí¼Ó¶ÔÓ¦µÄ¿â£¬ ·ÅÈëĿ¼ /lib 2. ¿â´æÔÚ£¬Î»Öò»¶Ô¨C¿ÉÒÔͨ¹ý-rpath=Ö¸¶¨Â·¾¶À´½â¾ö
3. ¿â´æÔÚ£¬Î»Öò»¶Ô¨C¿ÉÒÔͨ¹ýLD_LIBRARY_PATHµÄ»·¾³±äÁ¿À´½â¾ö¡£ ÐÞ¸Ä/etc/profile Ôö¼Ó LD_LIBRARY_PATH=/usr/ethan:$LD_LIBRARY_PATH È»ºó²âÊÔºÍ ÔËÐоÍÊÇOKµÄ¡£
±¾ÎÄ·ÖÏí×Ô ×÷Õ߸öÈËÕ¾µã/²©¿Í?Ç°Íù²é¿´
ÈçÓÐÇÖȨ£¬ÇëÁªÏµ cloudcommunity@tencent.com ɾ³ý¡£
±¾ÎIJÎÓë?ÌÚѶÔÆ×ÔýÌåͬ²½Æعâ¼Æ»®? £¬»¶ÓÈÈ°®Ð´×÷µÄÄãÒ»Æð²ÎÓ룡