When I compile the package seafile-server from the AUR, It gives me an error:
This is the last section:
libtool: link: gcc -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\"/usr/share/seafile\" -DSEAFILE_SERVER -I../include -I../lib -I../lib -I../common -I/usr/include -pthread -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o .libs/httpserver httpserver.o access-file.o upload-file.o seafile-session.o repo-mgr.o pack-dir.o seaf-db.o bitfield.o branch-mgr.o fs-mgr.o block-mgr.o block-backend.o block-backend-fs.o block-backend-ceph.o commit-mgr.o log.o avl.o object-list.o seaf-utils.o obj-store.o obj-backend-fs.o obj-backend-riak.o riak-http-client.o seafile-crypt.o -levhtp -levent_openssl -lccnet ../lib/.libs/libseafile.so ../common/cdc/.libs/libcdc.a -lssl -lcrypto -luuid -lsqlite3 -levent -lsearpc -lsearpc-json-glib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lzdb /usr/lib/libarchive.so -pthread /usr/bin/ld: cannot find -levhtp collect2: error: ld returned 1 exit status Makefile:519: recipe for target 'httpserver' failed make: *** [httpserver] Error 1 make: Leaving directory '/tmp/yaourt-tmp-root/aur-seafile-server/src/seafile-1.8.2/httpserver' Makefile:563: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 make: Leaving directory '/tmp/yaourt-tmp-root/aur-seafile-server/src/seafile-1.8.2' Makefile:457: recipe for target 'all' failed make: *** [all] Error 2
try adding options=(staticlibs) to the libevhtp PKGBUILD
If it's working now, remember to mark this thread as [SOLVED] by clicking 'edit' on your first post to change the title.
Also, if it hasn't been done already, it may be worth commenting on the relevant AUR package page - though given the precision with which Scimmia targetted the solution, I have to guess it may be an already known problem and solution.
Nope, I just built it quick and noticed it built only static libs. With the new makepkg default of removing static libs, it seemed obvious that that was the likely problem. Since it's been confirmed, I posted in the comments on the AUR page.