2017-06-25 62 views
-1

我的Fedora 22的這個安裝OpenSceneGraph的命令:OpenSceneGraph的Fedora中

$ sudo dnf install OpenSceneGraph-devel 
$ sudo dnf install OpenSceneGraph 

,但在使用時osgviewer或osgversion命令,OSG不會運行,該消息顯示:

osgviewer: error while loading shared libraries: libosgViewer.so.130: cannot open shared object file: No such file or directory. 
osgversion: error while loading shared libraries: libosgDB.so.130: cannot open shared object file: No such file or directory. 

什麼是錯的?

+0

Stack Overflow是編程和開發問題的網站。這個問題似乎與題目無關,因爲它不涉及編程或開發。請參閱幫助中心的[我可以詢問哪些主題](http://stackoverflow.com/help/on-topic)。也許[超級用戶](http://superuser.com/)或[Unix&Linux堆棧交換](http://unix.stackexchange.com/)會是一個更好的地方。 – jww

回答

0
# dnf search OpenSceneGraph 

...觀看所有可用的OpenSceneGraph軟件包。

# dnf provides */libosgViewer.so.130 
# dnf provides */libosgDB.so.130 

...決定提供庫的軟件包。

# dnf install OpenSceneGraph-libs