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