hello,

So I had another go at this, the bacula-dir on CentOS 4.3 just does
not like OpenSSL, even with your build instructions, these are mine,
only very slightly modified - change email addresses and removed
python:

CFLAGS="-g -Wall -O0 -I/usr/lib/mysql" \
LDFLAGS="-L/usr/lib/mysql -L/lib -L/usr/lib" \
 ./configure \
   --sbindir=/usr/local/bin/bacula \
   --sysconfdir=/etc/bacula \
   --with-scriptdir=/etc/bacula \
   --enable-smartalloc \
   --with-pid-dir=/var/run/bacula \
   --with-subsys-dir=/var/run/subsys/bacula \
   --enable-conio \
   --with-openssl \
   --with-mysql \
   --with-working-dir=/usr/local/bin/bacula/working \
   [EMAIL PROTECTED] \
   [EMAIL PROTECTED] \
   --with-dir-user=bacula \
   --with-dir-group=bacula \
   --with-sd-user=bacula \
   --with-sd-group=bacula \
   --with-fd-user=root \
   --with-fd-group=root

it builds, it installs, it seems happy, then i fire it up against a
config file with SSL directives and I get:

 /usr/local/bin/bacula/bacula-dir -c /etc/bacula/bacula-dir.conf
21-Jul 18:59 bacula-dir: ERROR in tls.c:224 Error setting cipher list,
no valid ciphers available
*** glibc detected *** free(): invalid pointer: 0x00134d00 ***

# rpm -qa|grep openssl
openssl-0.9.7a-43.8
xmlsec1-openssl-1.2.6-3
openssl-devel-0.9.7a-43.8

On 20/07/06, Scott Ruckh <[EMAIL PROTECTED]> wrote:
>
>
> This is what you said R.I. Pienaar
> > hello,
> >
> > So further to my previous mails about TLS, I've now moved on to try
> > make my CentOS 4.3 machines, the closest RPM I could find was the one
> > for el3 ones on the bacula download list.
> >
> >
> > So I saw on this list someone suggest doing --with-openssl=/ in the
> > spec, I did this now the configure output says yes for the above.
> > However mid-build I get a lot of problem, I'll show some here:
> >
> > -----
> > /usr/bin/g++   -static -L../lib -L../findlib -o static-bacula-fd
> > filed.o authenticate.o acl.o backup.o chksum.o estimate.o filed_conf.o
> > heartbeat.o job.o pythonfd.o restore.o status.o verify.o verify_vol.o
> > \
> >     -lz            -lfind -lbac -lm  -lpthread -ldl  \
> >       -L/usr/lib -lssl -lcrypto
> >
> > <snip>
> > /usr/lib/libssl.a(kssl.o)(.text+0x195): In function `populate_cksumlens':
> > : undefined reference to `valid_cksumtype'
> > /usr/lib/libssl.a(kssl.o)(.text+0x1ad): In function `populate_cksumlens':
> > : undefined reference to `krb5_checksum_size'
> > /usr/lib/libssl.a(kssl.o)(.text+0x1d5): In function `populate_cksumlens':
> > : undefined reference to `krb5_checksum_size'
> > <snip>
> > -----
> I have posted this before, but here it goes again.  Obviously this is not
> for the RPM build, but this is what I use for compiling sources on CentOS
> 4.3 x86_64 system.
>
> CFLAGS="-g -Wall -O0 -I/usr/lib64/mysql" \
> LDFLAGS="-L/usr/lib64/mysql -L/lib64 -L/usr/lib64" \
>   ./configure \
>     --sbindir=/usr/local/bin/bacula \
>     --sysconfdir=/etc/bacula \
>     --with-scriptdir=/etc/bacula \
>     --enable-smartalloc \
>     --with-pid-dir=/var/run/bacula \
>     --with-subsys-dir=/var/run/subsys/bacula \
>     --enable-conio \
>     --with-openssl \
>     --with-mysql \
>     --with-working-dir=/usr/local/bin/bacula/working \
>     --with-dump-email=<appropriate-email-address> \
>     --with-job-email=<appropriate-email-address> \
>     --with-dir-user=bacula \
>     --with-dir-group=bacula \
>     --with-sd-user=bacula \
>     --with-sd-group=bacula \
>     --with-fd-user=root \
>     --with-fd-group=root \
>     --with-python
>
> Then run a make, and make install.  Note:  make install by itself did not
> work.  Separate steps were required.
>


-- 
R.I.Pienaar                             http://www.devco.net

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to