GStreamer-警告**:存在插件时无法加载插件

时间:2018-08-06 15:01:46

标签: gstreamer wayland

我正在将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

我试图重建系统。一切正常。

1 个答案:

答案 0 :(得分:0)

我建议通过以下方法解决此问题:

  1. 您可能必须重新配置和重建带有源的库。
  2. 或者对解析该库的任何软件包执行apt-get install
  3. 由于版本号,这些库的符号链接可能会混在一起。

也请尝试阅读this。比here更好的答案。