Bacula-users

[Bacula-users] check_bacula: compiling issue

2009-02-10 08:31:04
Subject: [Bacula-users] check_bacula: compiling issue
From: Maxime <maxime.charpenne AT univ-avignon DOT fr>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 10 Feb 2009 14:29:02 +0100
Hi again,

I use bacula 2.4.4 on debian (etch and sarge) and it works fine. I still 
want to monitor bacula with hobbit. I've found in examples/nagios that 
we can perform handshake with daemon to make sure they're OK. This can 
be done with check_bacula program.
I use TLS support and I compiled Bacula with following options :

./configure --prefix=/usr/local/stow/bacula-2.4.4 --enable-smartalloc 
--with-smtp-host=univ-avignon.fr --with-readline --with-openssl 
--with-gzip --with-acl --with-mysql

When I try to compile check_bacula, I have a lots of error with X509 like:
hobbit01c:~/bacula-2.4.4/src/check_bacula# make
/usr/bin/g++ -O  -L../lib -L../cats -o check_bacula check_bacula.o 
authenticate.o \
        -lbac -lm -lpthread -ldl
../lib/libbac.a(tls.o)(.text+0x34): In function `openssl_verify_peer':
/root/bacula-2.4.4/src/lib/tls.c:84: undefined reference to 
`X509_STORE_CTX_get_current_cert'
../lib/libbac.a(tls.o)(.text+0x3e):/root/bacula-2.4.4/src/lib/tls.c:85: 
undefined reference to `X509_STORE_CTX_get_error_depth'
(...)
Everything concerns ../lib/libbac.a (tls.o, crypto.o and openssl.o)


Am I doing something wrong or should I open a report?


Thanks
-- 
Maxime CHARPENNE
Université d'Avignon et des Pays de Vaucluse - CRI
Tél. : +33 4 90 16 26 05

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>