参照了这个帖子https://bbs.seafile.com/t/ubuntu-16-04-1-desktop-amd64-seafile/693,本地源代码编译安装seafile,在make seafile-server的时候报如下错误:
libtool: link: gcc -DPKGDATADIR="/usr/local/share/seafile" -DPACKAGE_DATA_DIR="/usr/local/share/seafile" -DSEAFILE_SERVER -DFULL_FEATURE -I…/include -I…/lib -I…/lib -I…/common -pthread -I/usr/local/include -I/usr/local/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/local/include -I/usr/local/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include/zdb -g -O2 -o seaf-server seaf-server.o web-accesstoken-mgr.o chunkserv-mgr.o seafile-session.o zip-download-mgr.o share-mgr.o token-mgr.o passwd-mgr.o quota-mgr.o listen-mgr.o repo-op.o repo-perm.o size-sched.o virtual-repo.o copy-mgr.o http-server.o upload-file.o access-file.o pack-dir.o fileserver-config.o seaf-db.o branch-mgr.o fs-mgr.o repo-mgr.o commit-mgr.o log.o object-list.o rpc-service.o vc-common.o seaf-utils.o obj-store.o obj-backend-fs.o seafile-crypt.o diff-simple.o mq-mgr.o block-mgr.o block-backend.o block-backend-fs.o merge-new.o block-tx-server.o block-tx-utils.o recvfs-proc.o recvbranch-proc.o putcs-proc.o sync-repo-slave-proc.o check-tx-slave-v3-proc.o putfs-proc.o putcommit-v2-proc.o putcommit-v3-proc.o recvcommit-v3-proc.o putcs-v2-proc.o checkbl-proc.o checkff-proc.o putca-proc.o check-protocol-slave-proc.o recvfs-v2-proc.o recvbranch-v2-proc.o putfs-v2-proc.o -L/usr/local/lib /usr/local/lib/libccnet.so …/lib/.libs/libseafile_common.a -levhtp …/common/cdc/.libs/libcdc.a -lssl -lcrypto -luuid /usr/lib/x86_64-linux-gnu/libsqlite3.so -levent -lpthread /usr/local/lib/libsearpc.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljansson /usr/local/lib/libzdb.so -lz -larchive -pthread
/usr/local/lib/libevhtp.a(evhtp.c.o): In function _evhtp_accept_cb': evhtp.c:(.text+0x5107): undefined reference to
bufferevent_openssl_socket_new’
/usr/local/lib/libevhtp.a(evhtp.c.o): In function _evhtp_run_in_thread': evhtp.c:(.text+0x52df): undefined reference to
bufferevent_openssl_socket_new’
collect2: error: ld returned 1 exit status
Makefile:629: recipe for target ‘seaf-server’ failed
make[3]: *** [seaf-server] Error 1
make[3]: Leaving directory ‘/workspace/qhdisk/seafile-6.0.0-server/server’
Makefile:1235: recipe for target ‘all-recursive’ failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory ‘/workspace/qhdisk/seafile-6.0.0-server/server’
Makefile:471: recipe for target ‘all-recursive’ failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ‘/workspace/qhdisk/seafile-6.0.0-server’
Makefile:403: recipe for target ‘all’ failed
make: *** [all] Error 2
请各位大神帮忙看看。