找不到提供 libneon.so.25 的函式庫

找不到提供 libneon.so.25 的函式庫

我正在運行yum whatprovides libneon.so.25,但找不到任何提供此功能的庫。我錯過了什麼嗎?

答案1

也許您的系統儲存庫沒有任何包含檔案的套件libneon.so.25。當使用 . 進行搜尋時,您可以使用 shell glob 來匹配檔案名稱yum whatprovides

這是我的結果Fedora 20

$ yum whatprovides */libneon*
Loaded plugins: langpacks, refresh-packagekit
neon-0.30.0-2.fc20.i686 : An HTTP and WebDAV client library
Repo        : fedora
Matched from:
Filename    : /usr/lib/libneon.so.27.3.0
Filename    : /usr/lib/libneon.so.27



neon-0.30.0-2.fc20.x86_64 : An HTTP and WebDAV client library
Repo        : fedora
Matched from:
Filename    : /usr/lib64/libneon.so.27.3.0
Filename    : /usr/lib64/libneon.so.27



neon-devel-0.30.0-2.fc20.i686 : Development libraries and C header files for the
                              : neon library
Repo        : fedora
Matched from:
Filename    : /usr/lib/libneon.la
Filename    : /usr/lib/libneon.so



neon-devel-0.30.0-2.fc20.x86_64 : Development libraries and C header files for
                                : the neon library
Repo        : fedora
Matched from:
Filename    : /usr/lib64/libneon.la
Filename    : /usr/lib64/libneon.so



neon-0.30.0-2.fc20.x86_64 : An HTTP and WebDAV client library
Repo        : @koji-override-0/$releasever
Matched from:
Filename    : /usr/lib64/libneon.so.27.3.0
Filename    : /usr/lib64/libneon.so.27

答案2

我認為,你需要提供完整路徑就像下面的例子:

[root@sys1]# yum whatprovides /usr/lib64/libkdeinit4_konsole.so
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
el6x64/filelists                                                                                                                                                                                                      | 3.5 MB     00:00     
6:kdebase-4.3.4-4.el6.x86_64 : KDE Core Files
Repo        : el6x64
Matched from:
Filename    : /usr/lib64/libkdeinit4_konsole.so



6:kdebase-4.3.4-4.el6.x86_64 : KDE Core Files
Repo        : installed
Matched from:
Other       : Provides-match: /usr/lib64/libkdeinit4_konsole.so

或者你想要的文件是無法使用在您的 yum 儲存庫伺服器中。

編輯:您可以libneon.so.25使用安裝http://rpm.pbone.net。並蒐索neon,也使用進階 RPM 搜尋選項選擇體系結構和作業系統選項。下載適當的 rpm 檔案(不要下載neon-devel-<version>.rpm,只能neon-<verion>.rpm使用)並安裝。

相關內容