[Bacula-users] Error in compiling Bacula-2.2.6
When I run make everything is OK except I get an error compiling stored. My configure options are: CFLAGS=-g -Wall \ ./configure \ --sbindir=/opt/bacula/bin \ --sysconfdir=/opt/bacula \ --with-scriptdir=/opt/bacula/scripts \ --with-pid-dir=/var/run \ --with-subsys-dir=/var/lock/subsys \ --enable-smartalloc \ --enable-gnome \ --enable-static-tools \ --with-mysql \ --with-working-dir=/opt/bacula/working \ [EMAIL PROTECTED] \ [EMAIL PROTECTED] \ --with-smtp-host=localhost When I run make here are the errors. /usr/bin/g++ -static -L../lib -L../cats -L../findlib -o bscan bscan.o block.o device.o dev.o label.o ansi_label.o dv d.o ebcdic.o lock.o autochanger.o acquire.o mount.o record.o match_bsr.o parse_bsr.o butil.o read_record.o scan.o res erve.o stored_conf.o spool.o wait.o \ -lsql -L/usr/lib/mysql -lmysqlclient_r -lz -lacl -lz -lfind -lbac -lm -lpthread ../lib/libbac.a(bsys.o)(.text+0x115d): In function `drop(char*, char*)': /opt/bacula-2.2.6/src/lib/bsys.c:694: warning: Using 'initgroups' in statically linked applications requires at runti me the shared libraries from the glibc version used for linking ../lib/libbac.a(guid_to_name.o)(.text+0x2ca): In function `get_gidname': /opt/bacula-2.2.6/src/lib/guid_to_name.c:122: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../lib/libbac.a(bsys.o)(.text+0x10d3): In function `drop(char*, char*)': /opt/bacula-2.2.6/src/lib/bsys.c:687: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/mysql/libmysqlclient_r.a(mf_pack.o)(.text+0x41e): In function `unpack_dirname': : warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/mysql/libmysqlclient_r.a(libmysql.o)(.text+0x89f): In function `read_user_name': : warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/mysql/libmysqlclient_r.a(mf_pack.o)(.text+0x42e): In function `unpack_dirname': : warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../lib/libbac.a(bnet.o)(.text+0x5d3): In function `resolv_host': /opt/bacula-2.2.6/src/lib/bnet.c:424: warning: Using 'gethostbyname2' in statically linked applications requires at r untime the shared libraries from the glibc version used for linking /usr/lib/mysql/libmysqlclient_r.a(my_gethostbyname.o)(.text+0x30): In function `my_gethostbyname_r': : warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from th e glibc version used for linking /usr/lib/mysql/libmysqlclient_r.a(libmysql.o)(.text+0x97): In function `mysql_server_init': : warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/mysql/libmysqlclient_r.a(client.o)(.text+0x125f): In function `mysql_get_ssl_cipher': : undefined reference to `SSL_get_current_cipher' /usr/lib/mysql/libmysqlclient_r.a(client.o)(.text+0x17ac): In function `mysql_close_free_options': : undefined reference to `SSL_CTX_free' /usr/lib/mysql/libmysqlclient_r.a(client.o)(.text+0x2ab7): In function `mysql_real_connect': : undefined reference to `SSL_get_peer_certificate' /usr/lib/mysql/libmysqlclient_r.a(client.o)(.text+0x2ac5): In function `mysql_real_connect': : undefined reference to `X509_get_subject_name' /usr/lib/mysql/libmysqlclient_r.a(client.o)(.text+0x2adf): In function `mysql_real_connect': : undefined reference to `X509_NAME_oneline' /usr/lib/mysql/libmysqlclient_r.a(client.o)(.text+0x2ae7): In function `mysql_real_connect': : undefined reference to `X509_free' /usr/lib/mysql/libmysqlclient_r.a(client.o)(.text+0x1268): In function `mysql_get_ssl_cipher': : undefined reference to `SSL_CIPHER_get_name' /usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x25): In function `report_errors': : undefined reference to `ERR_get_error_line_data' /usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x80): In function `vio_ssl_close': : undefined reference to `SSL_set_quiet_shutdown' /usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x88): In function `vio_ssl_close': : undefined reference to `SSL_shutdown' /usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0xcf): In function `vio_ssl_delete': : undefined reference to `SSL_free' /usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x157): In function `sslaccept': : undefined reference to `SSL_new' /usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x16b): In function `sslaccept': : undefined reference to `SSL_clear' /usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x173): In function `sslaccept': : undefined reference to
Re: [Bacula-users] Error in compiling Bacula-2.2.6
On Nov 28, 2007 12:01 PM, Vasquez, Michael E. CIV [EMAIL PROTECTED] wrote: I have openssl.i686 version 0.9.7a-43.16. installed Should I install openssl.i386 version 0.9.7a-43.16? Mike Are your mysql libs i386? John - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error in compiling Bacula-2.2.6 (solved)
I remember reading a long time ago when I was configuring Bacula for HPUX that I needed to remove --enable-static-tools from the ./configure options. When I did this and ran make, everything compiled successfully. I then did a make install with no problems. I have bacula up and running. Mike John Drescher-2 wrote: On Nov 28, 2007 12:01 PM, Vasquez, Michael E. CIV [EMAIL PROTECTED] wrote: I have openssl.i686 version 0.9.7a-43.16. installed Should I install openssl.i386 version 0.9.7a-43.16? Mike Are your mysql libs i386? John - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- View this message in context: http://www.nabble.com/Error-in-compiling-Bacula-2.2.6-tf4889615.html#a14009868 Sent from the Bacula - Users mailing list archive at Nabble.com. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users