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.
-------------------------------------------------------------------------
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