$ tar xvfz cadaver-0.18.0.tar.gz $ cd cadaver-0.18.0 $ ./configure --with-ssl (snip) Internationalization: Not built (snip) |
$ make (snip) make[1]: Leaving directory `/usr/local/src/cadaver-0.18.0/libneon' gcc -o cadaver src/cadaver.o src/common.o src/commands.o src/ls.o src/cmdline.o src/options.o \ lib/basename.o lib/dirname.o lib/rpmatch.o lib/yesno.o lib/glob.o lib/getpass.o \ ./expat/xmltok/xmltok.o ./expat/xmltok/xmlrole.o ./expat/xmlparse/xmlparse.o \ ./expat/xmlparse/hashtable.o -lreadline -lcurses -L/usr/local/ssl/lib -lssl -lcrypto \ -lreadline -lcurses -Llibneon -lneon libneon/libneon.a(ne_socket.o): In function `sock_init': /usr/local/src/cadaver-0.18.0/libneon/ne_socket.c:203: undefined reference to `SSL_load_error_strings' (snip) /usr/local/src/cadaver-0.18.0/libneon/ne_socket.c:914: undefined reference to `SSL_CTX_check_private_key' collect2: ld returned 1 exit status make: *** [cadaver] Error 1 |
LIBS = -lreadline -lcurses -L/usr/local/ssl/lib -lssl -lcrypto -lreadline \ -lcurses -Llibneon -lneon -lssl ~~~~~ 追加 |
$ make for d in libneon ; do (cd $d; make); done make[1]: Entering directory `/usr/local/src/cadaver-0.18.0/libneon' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/cadaver-0.18.0/libneon' gcc -o cadaver src/cadaver.o src/common.o src/commands.o src/ls.o src/cmdline.o src/options.o lib/basename.o lib/dirname.o lib/rpmatch.o lib/yesno.o lib/glob.o lib/getpass.o ./expat/xmltok/xmltok.o ./expat/xmltok/xmlrole.o ./expat/xmlparse/xmlparse.o ./expat/xmlparse/hashtable.o -lreadline -lcurses -L/usr/local/ssl/lib -lssl -lcrypto -lreadline -lcurses -Llibneon -lneon -lssl libneon/libneon.a(ne_socket.o): In function `sock_peek': /usr/local/src/cadaver-0.18.0/libneon/ne_socket.c:301: undefined reference to `ERR_get_error' |
LIBS = -lreadline -lcurses -L/usr/local/ssl/lib -lssl -lcrypto -lreadline \ -lcurses -Llibneon -lneon -lssl -lcrypto ~~~~~~~~~~~~~~ 追加 |
$ make $ su # make install # exit |