【问题标题】:Gst-plugin-base building from source failure从源故障构建 Gst-plugin-base
【发布时间】:2016-09-30 08:52:54
【问题描述】:

我是运行 cent-os linux 的非 root 用户,我必须在我的远程机器上安装 opencv...所以我是从源文件安装它...即分三个步骤: 1../configure 2.make 3.make install .... 我在安装 gst-plugin-base 时遇到了这个问题...执行 make 命令我收到了这个错误... 我不知道是因为缺少一些依赖还是其他原因

error:
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_buffer_copy_deep'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `_gst_value_array_type'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_util_group_id_next'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_segment_position_from_running_time'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_buffer_list_copy_deep'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_event_parse_group_id'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_sample_set_buffer_list'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_segment_to_running_time_full'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_buffer_pool_config_validate_params'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `_gst_tag_list_type'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_event_set_group_id'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_message_set_group_id'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_meta_api_type_get_tags'
collect2: error: ld returned 1 exit status
make[4]: *** [scrubby] Error 1
make[4]: Leaving directory `/global/home/bharat/opencv-tar/gst-plugins-base-1.0.0/tests/examples/seek'
make[3]: *** [seek] Error 2
make[3]: Leaving directory `/global/home/bharat/opencv-tar/gst-plugins-base-1.0.0/tests/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/global/home/bharat/opencv-tar/gst-plugins-base-1.0.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/global/home/bharat/opencv-tar/gst-plugins-base-1.0.0'
make: *** [all] Error 2

【问题讨论】:

    标签: linux opencv gstreamer system-administration


    【解决方案1】:

    我认为您忘记正确设置对 gstreamer 核心的依赖.. 检查此 faq .. 有关 PKG_CONFIG_PATH 的部分 .. 如果您只想测试一些可以使用的东西 gst-uninstalled - 更多信息如何使用它here

    【讨论】:

    • @BharathVemula 它必须是大写的..小写不起作用..你试过gst-uninstalled吗?还是可以接受这种方式?如果你觉得困难,我可以更新答案,提供更多关于如何做到这一点的信息:)
    • 大声笑...我用大写的“pkg_config_path”...我知道.....你说的gst-uninstalled是什么意思?
    • @BharathVemula 我偶然发现了这个post ..
    • 感谢您的链接
    • @BharathVemula 我猜它有效.. 你的情况是什么问题?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多