Hi, tkoeck@chronos:~$ pkg-config openssl --libs -lssl -lcrypto
I got the vanilla sources from amanda.org so maybe it is not in the makefile and it should be fixed? Can you tell what file to fix to get it working? Greetings and thanks, Tobias Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] Gesendet: Freitag, 20. Januar 2017 13:21 An: Tobias Köck; amanda-users@amanda.org Betreff: Re: ./.libs/libamanda.so: undefined reference to `OPENSSL_init_ssl' The command line do not include the required '-lssl -lcrypto' What is the output of: pkg-config openssl --libs Do you have the openssl.pc filerequired for pkg-config? Jean-Louis On 20/01/17 03:48 AM, Tobias Köck wrote: > > Hi, > > after trying to compile Amanda 3.4.1 on in Debian I get the following > error > > make[3]: Entering directory '/var/backups/amanda/amanda-3.4.1/common-src' > > /bin/bash ../libtool --tag=CC --mode=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=\"`basename amflock-test.o`\" -g -O2 > -fno-strict-aliasing -o amflock-test amflock-test.o libamanda.la > libtestutils.la -lrt -lm -Wl,--export-dynamic -lgmodule-2.0 -pthread > -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lnsl -lresolv > > 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\" -g -O2 -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 > -pthread -Wl,-rpath -Wl,/usr/local/lib/amanda > > ./.libs/libamanda.so: undefined reference to `OPENSSL_init_ssl' > > collect2: error: ld returned 1 exit status > > Makefile:2266: recipe for target 'amflock-test' failed > > Openssl and libssl is of course installed. > > Any ideas how to fix that? > > Greetings > > Tobias > Disclaimer The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more Click Here<http://www.mimecast.com/products/>.