64 位上的 32 位导致出现奇怪的字符

64 位上的 32 位导致出现奇怪的字符

我在 64 位 Ubuntu Server 14.04.2 LTS 上安装了 32 位游戏服务器。这需要一些库,包括 lib32gcc。现在,每当我运行 apt-get 时,我都会得到各种奇怪的字符。

以下只是摘录,你可以看到整个输出这里

/sbin/ldconfig.real:  is not a known library type
/sbin/ldconfig.real: 8d°Ü8888888888888►!84►ÿÿÿÿÿÿÿðÁ▼|ðÁ87878787878787PuPuP∟Çq∟Çq∟ is not a known library type
/sbin/ldconfig.real: u8Q)+ is not a known library type
P)ÅqTÏ&)¾¹h@±ÉÖZc¾R↑§8482!Wµ5♥s83´ is not a known library type0wé9eBAÔضû
/sbin/ldconfig.real: úf☻of<♫µyOãv96K»☺>ÏH99$¡¾ ↕­¾86ÜNú¡∟90▲Ñù{¹Ã♥♫sq8e¥♀7§97±Hâgd8897t is not a known library type
/sbin/ldconfig.real: 6Zn1íI`I²¼"♥}©¡ÞZªòÍS8dW91©→↔Ée♣♥í˘Ñ' is not a known library type
/sbin/ldconfig.real:  is not a known library type
/sbin/ldconfig.real: J◄c↔§d©rGé98k_♂P↔6Ü ՅP▲¶u↕u874884瞀x"îR\±Òêz94☻{ÛþD·97Q¨9bàd¦ÐI8885ª¾ is not a known library type
/sbin/ldconfig.real: ûåxvԉ[9482í83dN·ÙÄA)Ì~Ü↑\Våò       →=ÍL¿wé♦Ó↔c"¥8e7 is not a known library type
/sbin/ldconfig.real: ÿ is not a known library type
/sbin/ldconfig.real: "fast" count="%zu" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "rest" count="%zu" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "current" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "max" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "mprotect" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "rest" count="%zu" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "current" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "max" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "total" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "mprotect" size="%zu"/> is not a known library type
/sbin/ldconfig.real: wÞûuu84m8797|95x9e|4O½Ì♦ÿuJQ82▼ŸD°Õá"ÔHE(4ضՋ97Þ↕,Å^u®80Ïw8b♠¡ÚjÌ:85‼→¾òUk82¯É9@▼8f¥­ó→é´Ú▲ñ9m7ø82⌂§½¥(9f²·ßa88¾¶%↨P³·Ö7ÌB^¤[Ñk~qö is not a known library type
87▼85üÐë㝀►ؽ{èV8eö§Û☺y8b87ÿö▬c»♀▲98]Å%º;oÞÜ\\Têèkב9b9eÛ♂¶$ZJZ²zDÜu°®↔ú▬c»­ëIսWG►í91|♫ͫbÍ÷♀a*ô=▬Ý)85 is not a known library type
/sbin/ldconfig.real: /9288ëê is not a known library type
/sbin/ldconfig.real: 9d|Õ►ÜÄ is not a known library type
Ñ♠;Ì is not a known library typeT.ȏT.ð8d§þɏT.☻¦)8e{`^áۀA·7-ʚJ"}ÿyh87ÿìd9a¢~÷v►96↔â8aÁ§ψz®Nìö8d§þms85ÅêÌ
/sbin/ldconfig.real: ÿ¥9d<¥ö±-j&90)Öєtd☻>⌂[ÝKaÆø<81©♦-9b|↑å'?ó¾G>Áî¦→®»æäUønìrÓ+ª³¢÷↕R¥Ì↓opTԁÔ is not a known library type
/sbin/ldconfig.real: §ñ}♠@R¬b9f►9wë♠®b9f►8dÇà`¶Þb Ñ 91zÏ◄'¬~]Ù0Lë:}×]↓z,ÎÅ'òµEá is not a known library type
/sbin/ldconfig.real: £÷9¾nÏ镶¸¥ïS808883?ùÿ¼7§§e²-.Ö)9c85►âY♦]82³« is not a known library type
♣L mjçVJ9f»?]g↓86ÕõãH[Ì>@iÖÚ♠¥Há2=97Ú§á♂¶►XÛøn1jfO÷86h↑Ǘ4ɤ9d►ÕðX91!1~¤♣ is not a known library type↨Ñ♥hÖÎ~▲]9aè¹/(91"ÞPÛÖÒÅ'♠"p.µéZñþÓçY91
fýÖ▲h9b½9c is not a known library typeêÙ-jÝù{9µï0↑∟sìX?97|T80Ìsقc☻;H85vàբ98Ëò¨§Ká6Y►ÜÏ쵶w↔
/sbin/ldconfig.real: c►lö"9f879e is not a known library type
/sbin/ldconfig.real: ®ä9 is not a known library type
/sbin/ldconfig.real: {Ó§ is not a known library type
/sbin/ldconfig.real: 92â9 is not a known library type
/sbin/ldconfig.real: ÌÌÌ♀⌂▬kð is not a known library type
/sbin/ldconfig.real: öu®♥ 85Ð is not a known library type
/sbin/ldconfig.real: æÞ8 is not a known library type
/sbin/ldconfig.real: Þÿÿ8985Èúÿÿ 87¼ÿÿ81½ÈúÿÿÇ♥ is not a known library type
/sbin/ldconfig.real: üÿH8d:H81ì80 is not a known library type
/sbin/ldconfig.real: 83ø♣t 83ø ▼D is not a known library type
/sbin/ldconfig.real: ∟ is not a known library type
/sbin/ldconfig.real: ► is not a known library type
/sbin/ldconfig.real: òº3 is not a known library type
/sbin/ldconfig.real: öu®♥u.H8d=tÍ♀ is not a known library type
/sbin/ldconfig.real: öu®♥u.H8d=ÛÌ♀ is not a known library type
/sbin/ldconfig.real: 9d1 is not a known library type
/sbin/ldconfig.real: 81Í0 is not a known library type
/sbin/ldconfig.real: FýÿH8bt1ÒL896fE89n►83=0 is not a known library type
/sbin/ldconfig.real:  is not a known library type
/sbin/ldconfig.real: þÿ is not a known library type
/sbin/ldconfig.real: 9e, is not a known library type
/sbin/ldconfig.real: E85Àx♣E85Éy3D89ÀD)ÈÃf ▼D is not a known library type
/sbin/ldconfig.real: øÿH85ÀI89Å 84)◄ is not a known library type
/sbin/ldconfig.real: ¨»+ is not a known library type
/sbin/ldconfig.real: ÿ9e+ is not a known library type
/sbin/ldconfig.real: r90♠ is not a known library type
/sbin/ldconfig.real: ç98) is not a known library type
/sbin/ldconfig.real: -98) is not a known library type
/sbin/ldconfig.real: ÿ is not a known library type
/sbin/ldconfig.real: ÿ is not a known library type
/sbin/ldconfig.real: ↕ is not a known library type
/sbin/ldconfig.real: ‼ is not a known library type
/sbin/ldconfig.real:  is not a known library type
/sbin/ldconfig.real:  is not a known library type
/sbin/ldconfig.real: 8d°Ü8888888888888►!84►ÿÿÿÿÿÿÿðÁ▼|ðÁ87878787878787PuPuP∟Çq∟Çq∟ is not a known library type
/sbin/ldconfig.real: u8Q)+ is not a known library type
P)ÅqTÏ&)¾¹h@±ÉÖZc¾R↑§8482!Wµ5♥s83´ is not a known library type0wé9eBAÔضû
/sbin/ldconfig.real: úf☻of<♫µyOãv96K»☺>ÏH99$¡¾ ↕­¾86ÜNú¡∟90▲Ñù{¹Ã♥♫sq8e¥♀7§97±Hâgd8897t is not a known library type
/sbin/ldconfig.real: 6Zn1íI`I²¼"♥}©¡ÞZªòÍS8dW91©→↔Ée♣♥í˘Ñ' is not a known library type
/sbin/ldconfig.real:  is not a known library type
/sbin/ldconfig.real: J◄c↔§d©rGé98k_♂P↔6Ü ՅP▲¶u↕u874884瞀x"îR\±Òêz94☻{ÛþD·97Q¨9bàd¦ÐI8885ª¾ is not a known library type
/sbin/ldconfig.real: ûåxvԉ[9482í83dN·ÙÄA)Ì~Ü↑\Våò       →=ÍL¿wé♦Ó↔c"¥8e7 is not a known library type
/sbin/ldconfig.real: ÿ is not a known library type
/sbin/ldconfig.real: "fast" count="%zu" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "rest" count="%zu" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "current" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "max" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "mprotect" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "rest" count="%zu" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "current" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "max" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "total" size="%zu"/> is not a known library type
/sbin/ldconfig.real: "mprotect" size="%zu"/> is not a known library type
/sbin/ldconfig.real: \BEÕìtãԕ{a,►Ü稙ðâkP96t87c§♠õ²` is not a known library type
/sbin/ldconfig.real: \BEÕìtãԕ{a,►Ü稙ðâkP96t87c§♠õ²` is not a known library type
/sbin/ldconfig.real: )ËóA▬ô8cý[Óùñå> is not a known library type
/sbin/ldconfig.real: )ËóA▬ô8cý[Óùñå> is not a known library type
/sbin/ldconfig.real: ♠Ëî¼2þKþ9´=_zÛ͆Íæ½↕´8♀190,↓ÝÝðØ↔‼w2z♫¢86­I}_Û      Z뇛↑ã_↨;Ï §ÏZ↕ݶZº▼↓êt9d9e96§֌¹ Á↨õ849896Ԥ¿þWM↕NBL99p‼BC§NV@→Rzݹûqö is not a known library type
ç▬rͣ¨T8címG♣89☻漓íNÊT81å▼¤ is not a known library type7¶96g9a↨lÎ݌§IÍS³82áåw
/sbin/ldconfig.real: ø;:8a£²ÆrȅE is not a known library type
/sbin/ldconfig.real: §3áñzBQx▲Y¾)L"♠ü@MÊQ«Jj♦èkcS♠9d8a♦ü85¨ã92íêڻë§ë>99ý²̽¦→>$" is not a known library type
/sbin/ldconfig.real: sP9ciÌ8Øæ94Laè(♥¬Ór[>ÎØ◄♂¾¸87 Iұ8c¡ûa84ºwŲ§        2¹±Q99Í[º)½&ïbhYÕNa ÉK«29aõ88"×GxÆlA↨ôS9â܏¥`}Å 8eÀ~§↓\rK▬?Ge抬0ù¢O}¬♥7ÏVÍjà◄q!8∟U88.☺ is not a known library type
1û8b9aÊ↓KôQÍIUÜþ¿53~¼C¹à®♥8aݛ9d+â⌂»<☺û3=95Û/^♀& is not a known library type
~LTôG84j♥88♂£828a is not a known library typeK9c93ýE®ù÷81↓Ôu¸mZðÞB☺☻>8^²õ чY,82áHoы812{9d9c86׫u879ëEovÎt"µµ6àÃu95/¦\ªãl>a~zEbY±\
/sbin/ldconfig.real: Ô2m8dc▬.þÃ2Øå0©F95çÏȟ%@mö is not a known library type
§Þ¶9a♂lû9eTO»Ýköû9a9790c‼¸Æöì9ed\93Ëy9bÁ Èâæ>n8088¨rÕÎ^ÙÅõâM½∟ÍÛ)»}ö is not a known library type
/sbin/ldconfig.real: ^ÑyÓegu°p.Ê↨9{+o   97²♥↕G˱‼◄aJ92±-6/­▲îa198Q5®ï83§ is not a known library type

别误会,它确实看起来运行良好,但我确信这种输出不会好。我该如何修复它?

为了澄清: 游戏服务器是无冬之夜(原文)。我之所以提到它,只是因为它可能有助于诊断有问题的库。

我检查了我的/etc/ld.so.conf.d目录,似乎没有任何带有奇怪字符的文件。您可以找到输出这里

答案1

您的库路径中似乎有一些由这些字符串组成的垃圾文件名。您需要在磁盘上找到它们并删除它们,以解决此问题。您应该查看目录中文件内列出的路径/etc/ld.so.conf.d/

答案2

这个问题我已经遇到很久了。对我来说,最终是 /etc/ld.so.conf 文件包含 /usr/local/lib/libopencv_* 路径。我注释掉了该路径,不再看到打印出来的乱码。

相关内容