/usr/lib/libcxcore.so.2.1: could not read symbols: Invalid operation 解决方法
来源:互联网 发布:蜜桃影院源码 编辑:程序博客网 时间:2024/05/18 11:17
开发环境:ubuntu11.10 + qt4 + opencv2.1 (其中的opencv也是直接使用命令行下载的: sudo apt-get install libcv2.1 libcvaux2.1 libcvaux-dev libcv-dev libhighgui* )
gcc laplace.c -o laplace -lcv -lhighgui
编译一个与OPENCV有关的程序,结果遇到下列错误:
/usr/bin/ld: note: 'cvGetCols' is defined in DSO /usr/lib/libcxcore.so.2.1 so try adding it to the linker command line
/usr/lib/libcxcore.so.2.1: could not read symbols: Invalid operation
collect2: ld 返回 1
解决办法:
多加一个 -lcxcore 就行了, 即:
gcc laplace.c -o laplace -lcv -lhighgui -lcxcore
- /usr/lib/libcxcore.so.2.1: could not read symbols: Invalid operation 解决方法
- /usr/lib/libexpat.so: could not read symbols解决方法
- /usr/lib/libexpat.so: could not read symbols解决方法
- Linux环境编译时报错/lib64/libdl.so.2: could not read symbols: Invalid operation
- Apache 安装过程中出错/usr/lib/libexpat.so: could not read symbols: File in wrong format的解决办法
- Could not read symbols解决方法
- Could not read symbols解决方法
- Could not read symbols解决方法
- Could not read symbols解决方法
- Could not read symbols解决方法
- Could not read symbols解决方法
- Could not read symbols解决方法
- Could not read symbols解决方法
- php make报错:/usr/local/openssl/lib/libssl.a: could not read symbols: Bad value
- /usr/local/lib/libz.a: could not read symbols: Bad value
- recompile with -fPIC /usr/local/lib/libboost_python.a: could not read symbols: Bad value
- TTserver 编译/usr/local/lib/libbz2.a: could not read symbols: Bad value解决
- libexpat.so:could not read symbols...
- NS2入门实例 2---无线网络,两节点(TCP连接,FTP应用)
- 从Facebook上市看“社交网站效应”
- Ubuntu下使用Evolution电子邮箱客户端
- Java中final关键字,抽象类与接口
- 获取设备信息
- /usr/lib/libcxcore.so.2.1: could not read symbols: Invalid operation 解决方法
- NAT and Traversal NAT(TURN/STUN/ICE)
- GCC __attribute__ 和 link 脚本控制 section 基地址
- 基于linux的文件传输器实现详解----服务器端实现详解
- 黑马程序员_java多线程
- Linux伙伴系统(一)--伙伴系统的概述
- hunnu 11152 Invasion 迪杰斯特拉 修改
- aspectj does not support JDK class weaving
- ubuntu 下安装VMware tools 的方法