安裝ImageMagick出現error while loading shared libraries的解決方案,sharedlibraries_PHP教程

來源:互聯網
上載者:User

安裝ImageMagick出現error while loading shared libraries的解決方案,sharedlibraries


本文執行個體講述了安裝安裝ImageMagick出現error while loading shared libraries的解決方案。分享給大家供大家參考。具體解決方案如下:

運行程式時,如遇到像下列這種錯誤:

./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory

那就表示系統不知道xxx.so 放在哪個目錄下。

這個時候就要在/etc/ld.so.conf中加入xxx.so所在的目錄。

一般而言,有很多so檔會在/usr/local/lib這個目錄下,所以在/etc/ld.so.conf中加入/usr/local/lib這一行,可以解決此問題。

將 /etc/ld.so.conf存檔後,還要執行「/sbin/ldconfig –v」來更新一下才會生效。

希望本文所述對大家有所協助。


Linux系統中我安裝wireshark的時出了問題,一直顯示wireshark: error while loading shared libraries:

rpm搜portaudio 找描述資訊是libraries的軟體包,然後安裝上
 

在ubunt的oslab目錄下運行/run後出現/bochs/bochs-gdb: error while loading shared libraries: libSMs

缺少limSM.so.6這個檔案。

想辦法找到它就可以了。

有問題hi我
 

http://www.bkjia.com/PHPjc/882896.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/882896.htmlTechArticle安裝ImageMagick出現error while loading shared libraries的解決方案,sharedlibraries 本文執行個體講述了安裝安裝ImageMagick出現error while loading shared libraries的...

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.