undefined reference to 解决
源码安装mysql中间件atlas,make时报错
./.libs/libmysql-proxy.so: undefined reference to `EVP_CIPHER_CTX_init'
./.libs/libmysql-proxy.so: undefined reference to `EVP_DecodeFinal'
./.libs/libmysql-proxy.so: undefined reference to `EVP_EncodeFinal'
./.libs/libmysql-proxy.so: undefined reference to `EVP_EncodeUpdate'
./.libs/libmysql-proxy.so: undefined reference to `EVP_DecodeInit'
./.libs/libmysql-proxy.so: undefined reference to `EVP_des_ecb'
./.libs/libmysql-proxy.so: undefined reference to `EVP_DecryptFinal_ex'
./.libs/libmysql-proxy.so: undefined reference to `EVP_CIPHER_CTX_cleanup'
./.libs/libmysql-proxy.so: undefined reference to `EVP_DecryptInit_ex'
./.libs/libmysql-proxy.so: undefined reference to `EVP_DecodeUpdate'
./.libs/libmysql-proxy.so: undefined reference to `EVP_DecryptUpdate'
./.libs/libmysql-proxy.so: undefined reference to `EVP_EncryptFinal_ex'
./.libs/libmysql-proxy.so: undefined reference to `EVP_EncodeInit'
./.libs/libmysql-proxy.so: undefined reference to `EVP_EncryptInit_ex'
./.libs/libmysql-proxy.so: undefined reference to `EVP_EncryptUpdate'
collect2: ld returned 1 exit status
make[3]: *** [mysql-binlog-dump] Error 1
make[3]: Leaving directory `/root/Atlas-master/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Atlas-master/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Atlas-master'
make: *** [all] Error 2
解决:configure时LDFLAGS使用-lcrypto。在安装脚本bootstrap.sh中已指出。
参考:http://blog.sina.com.cn/s/blog_45497dfa0100nxi3.html
undefined reference to 解决相关推荐
- “undefined reference to“ 解决方法
最近在Linux下编程发现一个诡异的现象,就是在链接一个静态库的时候总是报错,类似下面这样的错误: (.text+0x13): undefined reference to `func' 关于unde ...
- 【Qt】报错error: undefined reference to `vtable for的解决方法
1.问题描述 编译Qt程序时,在某个类构造函数定义处报错: error: undefined reference to `vtable for 2.原因分析 导致错误信息的原因是:子类没有实现父类的纯 ...
- 报错解决:undefined reference to `snappy::MaxCompressedLength(unsigned long)'
下午在编译phxpaxos的样例时报错了,报错如下: g++ echo_sm.o echo_server.o main.o -o phxecho -L/home/zhang/phxpaxos/.lib ...
- 解决Qt Creator下 undefined reference to ‘qmain(int,char**)‘的问题
解决Qt Creator下 undefined reference to 'qmain(int,char**)'的问题 参考文章: (1)解决Qt Creator下 undefined referen ...
- linux 线程操作问题undefined reference to ‘pthread_create‘的解决办法(cmake)
linux 线程操作问题undefined reference to 'pthread_create'的解决办法(cmake) 参考文章: (1)linux 线程操作问题undefined refer ...
- linux c 编译报错 Compile error : undefined reference to‘__atomic_fetch_add_4’ 解决方法
代码如下: #include <opencv2/opencv.hpp> using namespace cv;int main() {Mat img=imread("cornea ...
- pow函数gcc编译提示 undefined reference to `power' 的解决办法
一个程序,用了pow函数,头文件中也包含了<math.h>文件,但是在编译时,gcc -o ippanduan ippanduan.c 一直提示如下错误: /tmp/ccARJLRg.o ...
- Mingw-W64编译Windows程序提示:undefined reference to `__imp_GetStockObject' 的解决方法
gcc(Mingw-W64)编译windows程序,提示undefined reference to `__imp_GetStockObject' 的解决方法:加上-mwindows,问题解决. #i ...
- Android系统编译so库提示error undefined reference to '__android_log_print问题的解决
在系统源代码的hardware/qcom下增加psam文件夹,编译源代码要生成libpsam.so库,Android.mk内容 LOCAL_PATH := $(call my-dir) include ...
最新文章
- 在QTP中申明XPath
- wiki----为用户设置管理员权限
- [Python从零到壹] 十一.数据分析之Numpy、Pandas、Matplotlib和Sklearn入门知识万字详解(1)
- Ruffer Investment共持有略高于3%的比特币敞口
- KMP算法计算next数组 匹配字符串
- nginx502错误原因解决方法_Got fatal error 1236原因和解决方法
- PyCharm社区版设置简体中文界面
- 微机课设 | 基于STC15单片机的简易数字密码锁设计
- Javascript中文乱码Js中文乱码
- Nooploop空循环 TOFSense激光测距传感器 模块 红外测距测高
- 密码学工具箱ToolsFx发布日志
- Caesar加密与解密
- 电子货架标签----拣货系统
- 小白学mongodb-文档操作
- 信息架构和零代码应用搭建
- Python之freshman05
- 揭秘!用标准Go语言能写脚本吗?
- centos7系统关机命令_centos关机命令
- Java关键字synchronized 使用中的 Double-Checked Locking is Broken
- 学习无线通信 无线数据传输 要了解那些基本概念