* Jean-Louis Martineau <[email protected]> [20161031 12:16]:
> How do you configured amanda? Post the complete command line.
> Post the complete ./configure output
> Post the config.log file
> Post the common-src/Makefile file


The config file is very simple and specific to our environment:

./configure                                 \
--prefix=/opt/amanda                        \
--mandir=/opt/man                           \
--with-tmpdir=/var/tmp/amanda               \
--with-amperldir=/opt/amanda/perl           \
--with-config=strange                       \
--with-user=amanda                          \
--with-group=disk                           \
--with-security-file=/etc/amanda/amanda-security.conf \
--with-bsdtcp-security                      \
--with-amandahosts                          \
--with-tape-device=tape:/dev/nst0           \
--with-tape-server=dow                      \
--with-index-server=dow  

Turns out that the package libcurl4-openssl-dev wasn't installed on my
Debian/Jessie host: doing so makes 'make' happy. I tried a few
combinations with '--without-ssl-security'' and '--without-ssh-security'
with no luck.  Maybe those configure flags do nothing.

Somehow libssl-dev is required but not libssh2-1-dev.

thanks,
jf

> 
> Jean-Louis
> 
> On 31/10/16 11:48 AM, Jean-Francois Malouin wrote:
> >Hi,
> >
> >Trying to compile amanda-3.4 on Debian/Jessie leads to this error:
> >
> >libtool: link: gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement 
> >-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat 
> >-Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition 
> >-Wno-strict-aliasing -Wno-unknown-pragmas -Wno-deprecated-declarations 
> >-DAMANDA_FILE=\"amflock-test.o\" -m64 -fno-strict-aliasing -o 
> >.libs/amflock-test amflock-test.o -Wl,--export-dynamic -pthread -pthread 
> >./.libs/libamanda.so ./.libs/libtestutils.a -lrt -lm -lgmodule-2.0 
> >-lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lnsl -lresolv -lcrypto -pthread 
> >-Wl,-rpath -Wl,/opt/amanda-3.4/lib/amanda
> >./.libs/libamanda.so: undefined reference to `SSL_connect'
> >./.libs/libamanda.so: undefined reference to `SSL_CTX_set_verify'
> >./.libs/libamanda.so: undefined reference to `SSL_load_error_strings'
> >./.libs/libamanda.so: undefined reference to `SSL_CTX_check_private_key'
> >./.libs/libamanda.so: undefined reference to `SSL_get_peer_certificate'
> >./.libs/libamanda.so: undefined reference to `SSLv3_server_method'
> >./.libs/libamanda.so: undefined reference to `SSLv3_client_method'
> >./.libs/libamanda.so: undefined reference to `SSL_set_connect_state'
> >./.libs/libamanda.so: undefined reference to `SSL_CTX_new'
> >./.libs/libamanda.so: undefined reference to `SSL_set_accept_state'
> >./.libs/libamanda.so: undefined reference to `SSL_read'
> >./.libs/libamanda.so: undefined reference to `SSL_set_fd'
> >./.libs/libamanda.so: undefined reference to `SSL_get_current_cipher'
> >./.libs/libamanda.so: undefined reference to `SSL_CTX_load_verify_locations'
> >./.libs/libamanda.so: undefined reference to `SSL_CIPHER_get_name'
> >./.libs/libamanda.so: undefined reference to `SSL_CTX_set_verify_depth'
> >./.libs/libamanda.so: undefined reference to `SSL_CTX_use_PrivateKey_file'
> >./.libs/libamanda.so: undefined reference to `SSL_library_init'
> >./.libs/libamanda.so: undefined reference to `SSL_CTX_use_certificate_file'
> >./.libs/libamanda.so: undefined reference to `SSL_CTX_set_cipher_list'
> >./.libs/libamanda.so: undefined reference to `SSL_new'
> >./.libs/libamanda.so: undefined reference to `SSL_write'
> >./.libs/libamanda.so: undefined reference to `SSL_accept'
> >./.libs/libamanda.so: undefined reference to `SSL_CTX_ctrl'
> >collect2: error: ld returned 1 exit status
> >Makefile:2266: recipe for target 'amflock-test' failed
> >make[3]: *** [amflock-test] Error 1
> >
> >What am I missing?
> >
> >thanks,
> >jf
> 

-- 
Jean-Francois Malouin | IT Operations and Infrastructure
McConnell Brain Imaging Centre | MNI | McGill University

Reply via email to