我是运行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
答案 0 :(得分:0)
我认为你忘了正确设置gstreamer核心的依赖性..检查这个faq ..关于PKG_CONFIG_PATH的部分..如果你想测试一些你可以使用的东西gst-uninstalled - 更多信息如何使用它here