Fail to build seafile-server libevhtp
2015-12-09 01:11
1546 查看
Fail
to build seafile-server
SeafileCE
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
32
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!
相关文章推荐
- 贝塞尔曲线UIBezierPath
- 在MySQL中创建实现自增的序列(Sequence)的教程
- UITextField设置大全
- UIButton的自定义
- 简单的iCloud键值存储Key-Value Data Storage
- Ios补全UITableViewCell分割线
- marquee标签不用js实现滚动效果
- iOS开发-UICollectionView实现瀑布流
- VS2013与有道词典冲突
- 异常处理:Null value was assigned to a property of primitive type setter of"原因及解决方案
- iOS UI基础-19.0 UICollectionView
- Azkaban Quick Start
- 几种获取request,session方法
- 关于GUID,全局唯一标识符
- UGUI_不规则图片点击事件处理
- iOS UITextField实用限制字符长度(中英文)—— HERO博客
- [leetcode 303] Range Sum Query - Immutable
- iOS技术面试05:UI控件
- @Responsebody与@RequestBody
- ERROR BUILDING VIM on Ubuntu--Solution