Fail to build seafile-server libevhtp

5
 / 
5
 

I build the libzdb/libevhtp/libsearpc/ccnet according to the guide manual, but failed to build the seafie-server due to the failure on reference "bufferevent_openssl_socket_new" in libevhtp.a, I check the code of evhtp.c and openssl.h without luck to find out where the function is defined. libevhtp can be pass the build without error, but seafile-server can't(If I comment out this function in evhtp.c, all of the builds can be passed). Does anyone know how to solve the build error as below? Thanks.

detail error:

/usr/local/lib/libevhtp.a(evhtp.c.o): In function evhtpaccept_cb':
evhtp.c:(.text+0x511a): undefined reference tobufferevent_openssl_socket_new'
/usr/local/lib/libevhtp.a(evhtp.c.o): In function evhtprun_in_thread':
evhtp.c:(.text+0x5310): undefined reference tobufferevent_openssl_socket_new'
collect2: error: ld returned 1 exit status
make[3]: *** [seaf-server] Error 1
make[3]: Leaving directory /home/jiajiesun/fileserver/code/seafile-4.0.6-server/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory/home/jiajiesun/fileserver/code/seafile-4.0.6-server/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jiajiesun/fileserver/code/seafile-4.0.6-server'
make: *** [all] Error 2

  • created
    Feb 19
  • last reply
    Feb 19
  • 4
    replies
  • 409
    views
  • 2
    users
  • 1
    link
  • 3
    2

As I have replied you in the seafile Chinese forum, there is some recent changes, and we have updatedhttp://manual.seafile.com/build_seafile/server.html#libevhtp24

Yep, really appreciate for the quick response. 
BTW, happy new year. smile

BTW, it should be EVHTP_BUILD_SHARED instead of EVHT_BUILD_SHARED? 
EVHTP_BUILD_SHARED seems for latest version of libevhtp, and 1.1.6 has no this optional?

Yes, it's a typo. About libevhtp version: I've updated to download link to haiwen/libevhtp.

Thanks for the feedback!


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值