我正在将wayland KMS协议移植到waylandsink 1.12.2和weston 2.0之间的通信中。我在加载某些库时陷入困境。 它们确实存在于我们的系统中,但是在运行时执行期间仍然会产生错误。
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstrsvg.so': librsvg-2.so.2: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstsdpelem.so': libgstsdp-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstuvch264.so': libgstapp-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstneonhttpsrc.so': libneon.so.27: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstsbc.so': libsbc.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgsthls.so': libgstapp-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstvulkan.so': libvulkan.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstcamerabin.so': libgstapp-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstdashdemux.so': libgstapp-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstaudiovisualizers.so': libgstfft-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstwebp.so': libwebp.so.7: cannot open shared object file: No such file or directory
(gst-plugin-scanner:1694): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstsmoothstreaming.so': libgstapp-1.0.so.0: cannot open shared object file: No such file or directory
-
root@machine:~# ls /usr/lib/gstreamer-1.0/libgstrsvg.so
/usr/lib/gstreamer-1.0/libgstrsvg.so
任何人都可以解释吗?预先感谢。
编辑:问题似乎出在符号链接断开
# ldconfig
ldconfig: /usr/lib/libgstwayland-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgsturidownloader-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgstbadbase-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgstbadvideo-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgstphotography-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgstinsertbin-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgstmpegts-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgstplayer-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgstbadaudio-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgstbasecamerabinsrc-1.0.so.0 is not a symbolic link
ldconfig: /usr/lib/libgstadaptivedemux-1.0.so.0 is not a symbolic link
我试图重建系统。一切正常。