Hi Eric,

yes libcurl is already installied

---
Reading state information... Done
Note, selecting 'libcurl4-openssl-dev' instead of 'libcurl3-dev'
libcurl4-openssl-dev is already the newest version (7.52.1-1).
---

Strange ...

Greetings
Tobias

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im 
Auftrag von Eric Schnoebelen
Gesendet: Dienstag, 24. Januar 2017 04:47
An: [email protected]
Betreff: Re: ./.libs/libamanda.so: undefined reference to `OPENSSL_init_ssl'

Tobias writes:
- after trying to compile Amanda 3.4.1 on in Debian I get the following error

Do you have libcurl installed?  In 3.4.1, common-src/glib-util.c uses 
LIBCURL_USE_OPENSSL without verifying HAVE_LIBCURL is set.

I provided a patch for this on amanda-hackers earlier in the month, and 
Jean-Louis integrated it into the trunk. (thank you
Jean-Louis!)

- make[3]: Entering directory '/var/backups/amanda/amanda-3.4.1/common-src'
- /bin/bash ../libtool  --tag=3DCC   --mode=3Dlink 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=3D\"`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

Enjoy,
        Eric

--
Eric Schnoebelen                [email protected]            http://www.cirr.com
 "What a distressing contrast there is between the radiant intelligence of
  the child and the feeble mentality of the average adult." -- Sigmund Freud


Reply via email to