• 请不要在回答技术问题时复制粘贴 AI 生成的内容
ddid
V2EX  ›  程序员

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

  •  1
     
  •   ddid · Jan 22, 2019 · 2601 views
    This topic created in 2686 days ago, the information mentioned may be changed or developed.

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

    11 replies    2019-01-22 17:29:38 +08:00
    nyanyh
        1
    nyanyh  
       Jan 22, 2019
    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
       Jan 22, 2019
    就是 make && make install 之后所有的那一坨坨代码?
    GuangXiN
        3
    GuangXiN  
       Jan 22, 2019
    @ddid 包括 configure 和 cmake 部分的,各种日志的内容,方便 debug
    julyclyde
        4
    julyclyde  
       Jan 22, 2019
    @ddid 不含 make install
    hoyixi
        6
    hoyixi  
       Jan 22, 2019
    非喷,建议。

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

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

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


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

    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 动态库。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2685 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 05:38 · PVG 13:38 · LAX 22:38 · JFK 01:38
    ♥ Do have faith in what you're doing.