您的位置:首页 > 产品设计 > UI/UE

Fail to build seafile-server libevhtp

2015-12-09 01:11 1546 查看

Fail
to build seafile-server

Seafile
CE

5

 / 

5

 





square

Feb 19

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







lins05Leader

Feb 19

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

2 Replies





square

Feb 19

Yep, really appreciate for the quick response. 

BTW, happy new year. 






square

Feb 19
 

 lins05


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?





lins05Leader

Feb 19

Yes, it's a typo. About libevhtp version: I've updated to download link to haiwen/libevhtp.
Thanks for the feedback!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: