I could not get bacula-2.4.4 compiled so I decided to go ahead and upgrade to 3.0.1. I am still having problems.
Thanks for helping, LM On 5/16/09 2:28 AM, "Bruno Friedmann" <br...@ioda-net.ch> wrote: > I'm sure at 100% but I think you have trouble with openssl ( is the dev > package installed ) I've seen several day before that you could disable > crypto with a --without-openssl Hope just this remark drive you to a > solution. List Man wrote: > In the installation, I keep getting this error. > Bear with me this is > pretty long because I am trying to be concise: > > > ==== Make of cats is good ==== > > make[1]: Leaving directory > `/usr/src/bacula-2.4.4/src/cats' > ==>Entering directory > /usr/src/bacula-2.4.4/src/dird > make[1]: Entering directory > `/usr/src/bacula-2.4.4/src/dird' > Compiling dird.c > Compiling admin.c > > Compiling authenticate.c > Compiling autoprune.c > Compiling backup.c > > Compiling bsr.c > Compiling catreq.c > Compiling dird_conf.c > Compiling > expand.c > Compiling fd_cmds.c > Compiling getmsg.c > Compiling inc_conf.c > > Compiling job.c > Compiling jobq.c > Compiling migrate.c > Compiling > mountreq.c > Compiling msgchan.c > Compiling next_vol.c > Compiling newvol.c > > Compiling pythondir.c > Compiling recycle.c > Compiling restore.c > Compiling > run_conf.c > Compiling scheduler.c > Compiling ua_acl.c > Compiling > ua_cmds.c > Compiling ua_dotcmds.c > Compiling ua_query.c > Compiling > ua_input.c > Compiling ua_label.c > Compiling ua_output.c > Compiling > ua_prune.c > Compiling ua_purge.c > Compiling ua_restore.c > Compiling > ua_run.c > Compiling ua_select.c > Compiling ua_server.c > Compiling > ua_status.c > Compiling ua_tree.c > Compiling ua_update.c > Compiling > verify.c > Linking bacula-dir ... > /usr/bin/g++ -O -L../lib -L../cats > -L../findlib -o bacula-dir dird.o > admin.o authenticate.o autoprune.o > backup.o bsr.o catreq.o dird_conf.o > expand.o fd_cmds.o getmsg.o inc_conf.o > job.o jobq.o migrate.o mountreq.o > msgchan.o next_vol.o newvol.o pythondir.o > recycle.o restore.o run_conf.o > scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o > ua_query.o ua_input.o > ua_label.o ua_output.o ua_prune.o ua_purge.o > ua_restore.o ua_run.o > ua_select.o ua_server.o ua_status.o ua_tree.o > ua_update.o verify.o \ > -lsql -lfind -lbac -lm > -L/usr/local/mysql/lib > -lmysqlclient_r -lz -lpthread \ > > > /usr/bin/g++ -O -static -L../lib -L../cats -L../findlib -o > > static-bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o > bsr.o > catreq.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o > jobq.o > migrate.o mountreq.o msgchan.o next_vol.o newvol.o pythondir.o > recycle.o > restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o > ua_dotcmds.o ua_query.o > ua_input.o ua_label.o ua_output.o ua_prune.o > ua_purge.o ua_restore.o > ua_run.o ua_select.o ua_server.o ua_status.o > ua_tree.o ua_update.o verify.o > \ > -lsql -lbac -lfind -lm -L/usr/local/mysql/lib > > -lmysqlclient_r -lz -lpthread \ > > ../lib/libbac.a(bsys.o): In > function `drop(char*, char*)': > /usr/src/bacula-2.4.4/src/lib/bsys.c:694: > warning: Using 'initgroups' in > statically linked applications requires at > runtime the shared libraries > from the glibc version used for linking > > ../lib/libbac.a(guid_to_name.o): In function `get_gidname': > > /usr/src/bacula-2.4.4/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): In function > `drop(char*, char*)': > /usr/src/bacula-2.4.4/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/src/bacula-2.4.4/src/lib/bsys.c:668: warning: Using 'getpwnam' in > > statically linked applications requires at runtime the shared libraries > from > the glibc version used for linking > /usr/src/bacula-2.4.4/src/lib/bsys.c:674: > warning: Using 'getpwuid' in > statically linked applications requires at > runtime the shared libraries > from the glibc version used for linking > > /usr/local/mysql/lib/libmysqlclient_r.a(mf_pack.o): In function > > `expand_tilde': > mf_pack.c:(.text+0x879): 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): In function > `resolv_host': > /usr/src/bacula-2.4.4/src/lib/bnet.c:425: warning: Using > > 'gethostbyname2' in statically linked applications requires at runtime > the > shared libraries from the glibc version used for linking > > /usr/local/mysql/lib/libmysqlclient_r.a(my_gethostbyname.o): In function > > `my_gethostbyname_r': > my_gethostbyname.c:(.text+0x34): warning: Using > 'gethostbyname_r' in > statically linked applications requires at runtime the > shared libraries > from the glibc version used for linking > > ../lib/libbac.a(address_conf.o): In function `add_address': > > /usr/src/bacula-2.4.4/src/lib/address_conf.c:310: warning: Using > > 'getservbyname' in statically linked applications requires at runtime > the > shared libraries from the glibc version used for linking > > /usr/local/mysql/lib/libmysqlclient_r.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7 > Message+0x8): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7 > Message+0xc): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7 > Message+0x10): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7 > Message+0x14): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7 > Message+0x18): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(cert_wrapper.o): In function > > `yaSSL::x509::~x509(void)': > cert_wrapper.cpp:(.text+0x76): undefined > reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(cert_wrapper.o): In function > > `yaSSL::CertManager::~CertManager(void)': > cert_wrapper.cpp:(.text+0x2e6): > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(template_instnt.o): In function > > `mySTL::list<yaSSL::SSL_SESSION *>::~list(void)': > > template_instnt.cpp:(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION > +0x42): > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(template_instnt.o): In function > > `mySTL::list<yaSSL::ThreadError>::~list(void)': > > template_instnt.cpp:(.gnu.linkonce.t._._Q25mySTLt4list1ZQ25yaSSL11ThreadError+ > 0x42): > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(template_instnt.o): In function > > `mySTL::list<unsigned char *>::~list(void)': > > template_instnt.cpp:(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x42): > undefined > reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(template_instnt.o):template_instnt.cpp > :(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ28TaoCrypt6Signer+0x42): > more > undefined references to `__builtin_delete' follow > > /usr/local/mysql/lib/libmysqlclient_r.a(template_instnt.o):(.gnu.linkonce.d.__ > vt_Q25yaSSL13HandShakeBase+0x8): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(template_instnt.o):(.gnu.linkonce.d.__ > vt_Q25yaSSL13HandShakeBase+0xc): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(template_instnt.o):(.gnu.linkonce.d.__ > vt_Q25yaSSL13HandShakeBase+0x10): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(template_instnt.o):(.gnu.linkonce.d.__ > vt_Q25yaSSL13HandShakeBase+0x14): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(yassl_imp.o): In function > > `yaSSL::ServerDHParams::~ServerDHParams(void)': > > yassl_imp.cpp:(.text+0x2bcd): undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(yassl_imp.o): In function > > `yaSSL::Connection::~Connection(void)': > yassl_imp.cpp:(.text+0x504e): > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(yassl_int.o): In function > > `yaSSL::SSL_SESSION::~SSL_SESSION(void)': > yassl_int.cpp:(.text+0x371c): > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(yassl_int.o): In function > > `yaSSL::Sessions::~Sessions(void)': > yassl_int.cpp:(.text+0x390e): undefined > reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(yassl_int.o): In function > > `yaSSL::SSL_CTX::~SSL_CTX(void)': > yassl_int.cpp:(.text+0x3dc6): undefined > reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(yassl_int.o):yassl_int.cpp:(.text+0x42 > c3): > more undefined references to `__builtin_delete' follow > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-asn.o):(.gnu.linkonce.d > .__vt_Q28TaoCrypt4HASH+0xc): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-asn.o):(.gnu.linkonce.d > .__vt_Q28TaoCrypt4HASH+0x10): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-asn.o):(.gnu.linkonce.d > .__vt_Q28TaoCrypt4HASH+0x14): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-asn.o):(.gnu.linkonce.d > .__vt_Q28TaoCrypt4HASH+0x18): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-asn.o):(.gnu.linkonce.d > .__vt_Q28TaoCrypt4HASH+0x1c): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-asn.o):(.gnu.linkonce.d > .__vt_Q28TaoCrypt11BER_Decoder+0xc): > more undefined references to > `__pure_virtual' follow > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-asn.o): In > function > `TaoCrypt::DSA_PublicKey::~DSA_PublicKey(void)': > > asn.cpp:(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0xaa): undefined > > reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-random.o): In > > function `TaoCrypt::OS_Seed::~OS_Seed(void)': > random.cpp:(.text+0x18d): > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-file.o): In > function > `TaoCrypt::FileSource::~FileSource(void)': > file.cpp:(.text+0x88): undefined > reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-file.o): In > function > `TaoCrypt::FileSink::~FileSink(void)': > file.cpp:(.text+0x28c): undefined > reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-hash.o):(.gnu.linkonce. > d.__vt_Q28TaoCrypt19HASH64withTransform+0x14): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-hash.o):(.gnu.linkonce. > d.__vt_Q28TaoCrypt19HASH64withTransform+0x18): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-hash.o):(.gnu.linkonce. > d.__vt_Q28TaoCrypt19HASH64withTransform+0x1c): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-hash.o):(.gnu.linkonce. > d.__vt_Q28TaoCrypt19HASH64withTransform+0x20): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-hash.o):(.gnu.linkonce. > d.__vt_Q28TaoCrypt19HASH64withTransform+0x24): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-hash.o):(.gnu.linkonce. > d.__vt_Q28TaoCrypt19HASH64withTransform+0x28): > more undefined references to > `__pure_virtual' follow > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o): In function > > `yaSSL::RandomPool::~RandomPool(void)': > crypto_wrapper.cpp:(.text+0x166d): > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o): In function > > `yaSSL::Integer::~Integer(void)': > crypto_wrapper.cpp:(.text+0x205d): > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o): In function > > `yaSSL::DiffieHellman::~DiffieHellman(void)': > > crypto_wrapper.cpp:(.text+0x23e5): undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o): In function > > `yaSSL::DES::DESImpl::~DESImpl(void)': > > crypto_wrapper.cpp:(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x51): > undefined > reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o): In function > > `yaSSL::DES_EDE::DES_EDEImpl::~DES_EDEImpl(void)': > > crypto_wrapper.cpp:(.gnu.linkonce.t._._Q35yaSSL7DES_EDE11DES_EDEImpl+0x3a): > > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o):crypto_wrapper.cpp:( > .gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x3a): > more undefined references to > `__builtin_delete' follow > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o):(.gnu.linkonce.d.__v > t_Q28TaoCrypt9Mode_BASE+0x10): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o):(.gnu.linkonce.d.__v > t_Q25yaSSL4Auth+0x8): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o):(.gnu.linkonce.d.__v > t_Q25yaSSL4Auth+0xc): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o):(.gnu.linkonce.d.__v > t_Q25yaSSL4Auth+0x10): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o):(.gnu.linkonce.d.__v > t_Q25yaSSL10BulkCipher+0x8): > undefined reference to `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o):(.gnu.linkonce.d.__v > t_Q25yaSSL10BulkCipher+0xc): > more undefined references to `__pure_virtual' > follow > /usr/local/mysql/lib/libmysqlclient_r.a(crypto_wrapper.o): In > function > `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)': > > crypto_wrapper.cpp:(.gnu.linkonce.t._._Q28TaoCrypt14RSA_PrivateKey+0x12e): > > undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(log.o): In function > > `yaSSL::Log::~Log(void)': > log.cpp:(.text+0x30): undefined reference to > `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-algebra.o):(.gnu.linkon > ce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-algebra.o):(.gnu.linkon > ce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-algebra.o):(.gnu.linkon > ce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-algebra.o):(.gnu.linkon > ce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-algebra.o):(.gnu.linkon > ce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): > undefined reference to > `__pure_virtual' > > /usr/local/mysql/lib/libmysqlclient_r.a(libtaocrypt_la-algebra.o):(.gnu.linkon > ce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): > more undefined > references to `__pure_virtual' follow > collect2: ld returned 1 exit status > > make[1]: *** [static-bacula-dir] Error 1 > make[1]: Leaving directory > `/usr/src/bacula-2.4.4/src/dird' > > > ====== Error in > /usr/src/bacula-2.4.4/src/dird ====== > > > There seems to be a lot of > reference to linking warnings, but I donĀ¹t > know why. I have all of the > software requirements installed properly. > The server has Debian Lenny > installed and the installation script is: > > ./configure > --with-working-dir=/var/bacula --sbindir=/usr/sbin > --sysconfdir=/etc/bacula > --with-mysql=/usr/local/mysql > --with-dump-email=XXXX --with-job-email=XXXXX > --with-smtp-host=localhost > --with-baseport=9101 --with-dir-password=XXXX > --with-fd-password=XXXX > --with-dir-user=XXXX --with-dir-group=XXXX > --with-sd-password=XXX > --with-sd-user=XXXX --with-sd-user=XXX > --with-fd-user=XXXX > --with-fd-user=XXX --enable-static-dir > --enable-static-sd > --enable-static-fd --disable-static-tools > --enable-batch-insert > --enable-static-cons --enable-smartalloc > > > I got > less errors after disabling static tools. I did not have any > problems > installing it before. Does anyone have any clue? I would > appreciate an > answer after spending two hours diagnosing the problem > with no luck. > > > > Thanks, > > LM > -- Bruno > Friedmann ----------------------------------------------------------------- > ------------- Crystal Reports - New Free Runtime and 30 Day Trial Check out > the new simplified licensing option that enables unlimited royalty-free > distribution of the report engine for externally facing server and web > deployment. > http://p.sf.net/sfu/businessobjects _________________________________________ > ______ Bacula-users mailing > list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/li > stinfo/bacula-users ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users