博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
源码安装git工具,显示/usr/local/lib64/libcrypto.a(dso_dlfcn.o) undefined reference to `dlopen'...
阅读量:4337 次
发布时间:2019-06-07

本文共 1497 字,大约阅读时间需要 4 分钟。

/usr/local/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':

dso_dlfcn.c:(.text+0x30): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x43): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x4e): undefined reference to `dlclose'
/usr/local/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x9d): undefined reference to `dladdr'
dso_dlfcn.c:(.text+0xf9): undefined reference to `dlerror'
/usr/local/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x434): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x4de): undefined reference to `dlerror'
/usr/local/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x554): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x5fe): undefined reference to `dlerror'
/usr/local/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x65d): undefined reference to `dlclose'
/usr/local/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x712): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x77b): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x7a8): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [git-imap-send] Error 1

 

打开Makefile目录,搜索crypto,前面添加-ldl

ifdef NEEDS_SSL_WITH_CRYPTO

 LIB_4_CRYPTO = $(OPENSSL_LINK) -ldl -lcrypto -lssl
else
 LIB_4_CRYPTO = $(OPENSSL_LINK) -ldl -lcrypto
endif

转载于:https://www.cnblogs.com/erhu-67786482/p/8615517.html

你可能感兴趣的文章
[六省联考2017]期末考试 贪心 枚举
查看>>
iptables之五iptables之nat
查看>>
接口测试入门
查看>>
排列与组合的一些定理(二)
查看>>
My first python program--填运算符问题的实现
查看>>
OpenSessionInViewFilter与org.springframework.dao.InvalidDataAccessApiUsageException
查看>>
通过反射(Reflection)实现对ref和out参数在 Portal-Builder 开源门户系统中的调用...
查看>>
老李分享:锁定客户的六大策略:教你如何将切换成本嵌入商业模式 1
查看>>
课下必做MyCP
查看>>
eazyui的分页传值,Mybatis
查看>>
【仅支持移动设备】Swipe.JS轻量级移动幻灯效果
查看>>
rsyslog简介及配置简单的日志服务器(基于mysql)
查看>>
模块and包
查看>>
【总结】01背包问题
查看>>
解析ArcGis的字段计算器(一)——数值型数据计算,从“面积计算”开始
查看>>
理解爬虫原理
查看>>
基础 - SVG
查看>>
Python基础-OS模块
查看>>
canvas填充样式
查看>>
Python----面向对象---异常处理
查看>>