V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ddid
V2EX  ›  程序员

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

  •  1
     
  •   ddid · 2019-01-22 10:15:43 +08:00 · 2046 次点击
    这是一个创建于 1919 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    11 条回复    2019-01-22 17:29:38 +08:00
    nyanyh
        1
    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
        2
    ddid  
    OP
       2019-01-22 10:52:15 +08:00
    就是 make && make install 之后所有的那一坨坨代码?
    GuangXiN
        3
    GuangXiN  
       2019-01-22 11:06:10 +08:00
    @ddid 包括 configure 和 cmake 部分的,各种日志的内容,方便 debug
    julyclyde
        4
    julyclyde  
       2019-01-22 12:32:46 +08:00
    @ddid 不含 make install
    jdhao
        5
    jdhao  
       2019-01-22 12:37:32 +08:00 via Android   ❤️ 1
    hoyixi
        6
    hoyixi  
       2019-01-22 12:58:43 +08:00
    非喷,建议。

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

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

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


    楼主开的那个 issue,直接扔一段日志上去,让别人猜。 脾气好的会帮你,脾气不好的根本不会理你。
    ddid
        7
    ddid  
    OP
       2019-01-22 13:24:09 +08:00
    @hoyixi 嗯,知道了,我也是没有办法了,网上找不到这个问题相关的答案,可是又要必须解决……
    Cooky
        8
    Cooky  
       2019-01-22 13:36:59 +08:00 via Android
    没编译安装过东西吧,这个求人没用,得自己解决(
    ddid
        9
    ddid  
    OP
       2019-01-22 14:01:45 +08:00
    @Cooky 只会 ./configure && make && make install 的这种,会配置自己需要的参数,仅此而已,出错误就懵逼了……
    masker
        10
    masker  
       2019-01-22 14:17:47 +08:00 via Android
    激进的人?
    springz
        11
    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 动态库。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3436 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:12 · PVG 19:12 · LAX 04:12 · JFK 07:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.