最近转到64位系统,大部分软件重装,在重装genymotion后发现不能动态装载共享库,几翻查找,发现一些库没有装。
[kemin@localhost genymotion]$ ./genymotion
./genymotion: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory
[kemin@localhost genymotion]$ ./genymotion
./genymotion: error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared object file: No such file or directory
使用的方法是dnf provides ,根据库名查找安装包:
[root@localhost Downloads]# dnf provides */libgstreamer-0.10.so.0
Last metadata expiration check performed 1:02:23 ago on Thu Dec 24 13:36:25 2015.
gstreamer-0.10.36-13.fc23.i686 : GStreamer streaming media framework runtime
Repo : fedora
gstreamer-0.10.36-13.fc23.x86_64 : GStreamer streaming media framework runtime
Repo : fedora
[root@localhost Downloads]# dnf install gstreamer
Last metadata expiration check performed 1:04:56 ago on Thu Dec 24 13:36:25 2015.
Dependencies resolved.
==============================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================
Installing:
gstreamer x86_64 0.10.36-13.fc23 fedora 989 k
gstreamer-tools x86_64 0.10.36-13.fc23 fedora 32 k
Transaction Summary
==============================================================================================================================================================
Install 2 Packages
Total download size: 1.0 M
Installed size: 3.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): gstreamer-tools-0.10.36-13.fc23.x86_64.rpm 112 kB/s | 32 kB 00:00
(2/2): gstreamer-0.10.36-13.fc23.x86_64.rpm 898 kB/s | 989 kB 00:01
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 118 kB/s | 1.0 MB 00:08
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : gstreamer-tools-0.10.36-13.fc23.x86_64 1/2
Installing : gstreamer-0.10.36-13.fc23.x86_64 2/2
Verifying : gstreamer-0.10.36-13.fc23.x86_64 1/2
Verifying : gstreamer-tools-0.10.36-13.fc23.x86_64 2/2
Installed:
gstreamer.x86_64 0.10.36-13.fc23 gstreamer-tools.x86_64 0.10.36-13.fc23
Complete!
[root@localhost Downloads]# dnf provides */libgstapp-0.10.so.0
Last metadata expiration check performed 1:06:26 ago on Thu Dec 24 13:36:25 2015.
gstreamer-plugins-base-0.10.36-13.fc23.i686 : GStreamer streaming media framework base plug-ins
Repo : fedora
gstreamer-plugins-base-0.10.36-13.fc23.x86_64 : GStreamer streaming media framework base plug-ins
Repo : fedora
[root@localhost Downloads]# dnf install gstreamer-plugins-base
Last metadata expiration check performed 1:06:47 ago on Thu Dec 24 13:36:25 2015.
Dependencies resolved.
==============================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================
Installing:
gstreamer-plugins-base x86_64 0.10.36-13.fc23 fedora 1.3 M
Transaction Summary
==============================================================================================================================================================
Install 1 Package
Total download size: 1.3 M
Installed size: 4.2 M
Is this ok [y/N]: y
Downloading Packages:
gstreamer-plugins-base-0.10.36-13.fc23.x86_64.rpm 230 kB/s | 1.3 MB 00:05
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 161 kB/s | 1.3 MB 00:08
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : gstreamer-plugins-base-0.10.36-13.fc23.x86_64 1/1
Verifying : gstreamer-plugins-base-0.10.36-13.fc23.x86_64 1/1
Installed:
gstreamer-plugins-base.x86_64 0.10.36-13.fc23
Complete!
[root@localhost Downloads]#
参考:
I cant start genymotion on f32? missing package?
http://forums.fedoraforum.org/showthread.php?p=1750449
Using the yum (or dnf) provides option
http://srobb.net/yumprovides.html