[求助] 因为安 libevent 遇到错误,去求助作者,可是不懂作者让我提供什么东西……

2019-01-22 10:15:43 +08:00
 ddid

详情看这里: https://github.com/libevent/libevent/issues/745
我想知道他要的东西,要怎么弄出来?
我是一个菜鸟,勿喷……

2051 次点击
所在节点    程序员
11 条回复
nyanyh
2019-01-22 10:41:24 +08:00
P.S. and next time please attach full build log (including configure/cmake part), since by your log I cannot know was there compiler error or just linking error.

意思是把编译时的完整 log 也给贴上去,方便定位是哪里的问题
ddid
2019-01-22 10:52:15 +08:00
就是 make && make install 之后所有的那一坨坨代码?
GuangXiN
2019-01-22 11:06:10 +08:00
@ddid 包括 configure 和 cmake 部分的,各种日志的内容,方便 debug
julyclyde
2019-01-22 12:32:46 +08:00
@ddid 不含 make install
jdhao
2019-01-22 12:37:32 +08:00
hoyixi
2019-01-22 12:58:43 +08:00
非喷,建议。

issue 一般是提 bug 的,不是像贴吧论坛一样一安装错误就发个帖求助

不管提 bug 还是求助的时候,一般要说清楚:
1 简短准确描述你遇到的问题,比如:安装 xx 的时候编译错误

2 具体上下文和相关参考信息:
什么环境下做的,比如操作系统, 软件版本,32 位 or64 位,等等;
你怎么做的,比如前后关键步骤,然后哪一步出错了;
此错误的详细信息,比如日志、截图等等


楼主开的那个 issue,直接扔一段日志上去,让别人猜。 脾气好的会帮你,脾气不好的根本不会理你。
ddid
2019-01-22 13:24:09 +08:00
@hoyixi 嗯,知道了,我也是没有办法了,网上找不到这个问题相关的答案,可是又要必须解决……
Cooky
2019-01-22 13:36:59 +08:00
没编译安装过东西吧,这个求人没用,得自己解决(
ddid
2019-01-22 14:01:45 +08:00
@Cooky 只会 ./configure && make && make install 的这种,会配置自己需要的参数,仅此而已,出错误就懵逼了……
masker
2019-01-22 14:17:47 +08:00
激进的人?
springz
2019-01-22 17:29:38 +08:00
看完了,说的很清楚了。

It's failing at the linking step, because while it is finding the new openssl headers during the compile step, it is still finding the centos7 openssl libs at /usr/lib/libssl.so and /usr/lib/libcrypto.so before it finds the new ones.

问题出在你自己编译的 openssl 和 系统 openssl,头文件找到了你编译的头文件,但是链接阶段链接的系统自带 openssl 动态库。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/529358

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX