We have and were successful in all attempts.

On Thu, 2007-10-25 at 10:05 -0400, Michael Galloway wrote:
> fwiw, i get this same build failure if i use the postgres rpms from postgres
> and 8.2.5.
> 
> has anyone managed to build 2.2.5 on centOS 5 and with postgres? 
> 
> -- michael
> 
> On Wed, Oct 24, 2007 at 12:25:28PM -0400, Michael Galloway wrote:
> > good day all, i'm trying to build 2.2.5 on centOS5 with postgresql. my 
> > config looks
> > like this:
> > 
> >   Database lib:               -L/usr/lib64 -lpq -lcrypt
> >   Database name:              bacula
> >   Database user:              bacula
> > 
> >   Job Output Email:           
> >   Traceback Email:            
> >   SMTP Host Address:          
> > 
> >   Director Port:              9101
> >   File daemon Port:           9102
> >   Storage daemon Port:        9103
> > 
> >   Director User:              
> >   Director Group:             
> >   Storage Daemon User:        
> >   Storage DaemonGroup:        
> >   File Daemon User:           
> >   File Daemon Group:          
> > 
> >   SQL binaries Directory      /usr/bin
> > 
> >   Large file support:         yes
> >   Bacula conio support:       yes -ltermcap
> >   readline support:           no 
> >   TCP Wrappers support:       no 
> >   TLS support:                no
> >   Encryption support:         no
> >   ZLIB support:               yes
> >   enable-smartalloc:          yes
> >   bat support:                no 
> >   enable-gnome:               no 
> >   enable-bwx-console:         no 
> >   enable-tray-monitor:        
> >   client-only:                no
> >   build-dird:                 yes
> >   build-stored:               yes
> >   ACL support:                yes
> >   Python support:             yes -L/usr/lib64/python2.4/config -lpython2.4 
> > -lutil -lrt 
> >   Batch insert enabled:       yes
> > 
> > but the build fails in building stored with this:
> > 
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/ip.c:81: 
> > warning: Using 'getaddrinfo' 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/local/bacula-2.2.5/src/lib/bnet.c:424: warning: Using 'gethostbyname2' 
> > 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/local/bacula-2.2.5/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/lib64/libpq.a(fe-misc.o): In function `pqSocketCheck':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-misc.c:972: 
> > undefined reference to `SSL_pending'
> > /usr/lib64/libpq.a(fe-secure.o): In function `SSLerrmessage':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1198:
> >  undefined reference to `ERR_get_error'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1204:
> >  undefined reference to `ERR_reason_error_string'
> > /usr/lib64/libpq.a(fe-secure.o): In function `pqsecure_write':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:415:
> >  undefined reference to `SSL_write'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:416:
> >  undefined reference to `SSL_get_error'
> > /usr/lib64/libpq.a(fe-secure.o): In function `pqsecure_read':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:324:
> >  undefined reference to `SSL_read'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:325:
> >  undefined reference to `SSL_get_error'
> > /usr/lib64/libpq.a(fe-secure.o): In function `close_SSL':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1165:
> >  undefined reference to `SSL_shutdown'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1166:
> >  undefined reference to `SSL_free'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1172:
> >  undefined reference to `X509_free'
> > /usr/lib64/libpq.a(fe-secure.o): In function `open_client_SSL':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1035:
> >  undefined reference to `SSL_connect'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1038:
> >  undefined reference to `SSL_get_error'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1115:
> >  undefined reference to `SSL_get_peer_certificate'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1128:
> >  undefined reference to `X509_get_subject_name'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1128:
> >  undefined reference to `X509_NAME_oneline'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1132:
> >  undefined reference to `X509_get_subject_name'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1132:
> >  undefined reference to `X509_NAME_get_text_by_NID'
> > /usr/lib64/libpq.a(fe-secure.o): In function `pqsecure_open_client':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:270:
> >  undefined reference to `SSL_new'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:270:
> >  undefined reference to `SSL_set_ex_data'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:270:
> >  undefined reference to `SSL_set_fd'
> > /usr/lib64/libpq.a(fe-secure.o): In function `destroy_SSL':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1022:
> >  undefined reference to `SSL_CTX_free'
> > /usr/lib64/libpq.a(fe-secure.o): In function `initialize_SSL':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1005:
> >  undefined reference to `SSL_CTX_set_tmp_dh_callback'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1006:
> >  undefined reference to `SSL_CTX_ctrl'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:989:
> >  undefined reference to `SSL_CTX_load_verify_locations'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:1000:
> >  undefined reference to `SSL_CTX_set_verify'
> > /usr/lib64/libpq.a(fe-secure.o): In function `init_ssl_system':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:949:
> >  undefined reference to `TLSv1_method'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:949:
> >  undefined reference to `SSL_CTX_new'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:946:
> >  undefined reference to `SSL_library_init'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:947:
> >  undefined reference to `SSL_load_error_strings'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:928:
> >  undefined reference to `CRYPTO_set_id_callback'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:930:
> >  undefined reference to `CRYPTO_num_locks'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:936:
> >  undefined reference to `CRYPTO_num_locks'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:939:
> >  undefined reference to `CRYPTO_set_locking_callback'
> > /usr/lib64/libpq.a(fe-secure.o): In function `client_cert_cb':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:782:
> >  undefined reference to `SSL_get_ex_data'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:802:
> >  undefined reference to `PEM_read_X509'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:850:
> >  undefined reference to `PEM_read_PrivateKey'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:864:
> >  undefined reference to `X509_check_private_key'
> > /usr/lib64/libpq.a(fe-secure.o): In function `load_dh_buffer':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:685:
> >  undefined reference to `BIO_new_mem_buf'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:688:
> >  undefined reference to `PEM_read_bio_DHparams'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:689:
> >  undefined reference to `BIO_free'
> > /usr/lib64/libpq.a(fe-secure.o): In function `load_dh_file':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:650:
> >  undefined reference to `PEM_read_DHparams'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:655:
> >  undefined reference to `DH_size'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:661:
> >  undefined reference to `DH_check'
> > /usr/lib64/libpq.a(fe-secure.o): In function `tmp_dh_cb':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:758:
> >  undefined reference to `DH_size'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:759:
> >  undefined reference to `DH_generate_parameters'
> > /usr/lib64/libpq.a(fe-auth.o): In function `pg_krb5_destroy':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:182: 
> > undefined reference to `krb5_free_principal'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:183: 
> > undefined reference to `krb5_cc_close'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:184: 
> > undefined reference to `krb5_free_context'
> > /usr/lib64/libpq.a(fe-auth.o): In function `pg_krb5_init':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:130: 
> > undefined reference to `krb5_init_context'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:139: 
> > undefined reference to `krb5_cc_default'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:149: 
> > undefined reference to `krb5_cc_get_principal'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:161: 
> > undefined reference to `krb5_unparse_name'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:133: 
> > undefined reference to `error_message'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:142: 
> > undefined reference to `error_message'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:145: 
> > undefined reference to `krb5_free_context'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:153: 
> > undefined reference to `error_message'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:168: 
> > undefined reference to `krb5_cc_close'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:169: 
> > undefined reference to `krb5_free_context'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:164: 
> > undefined reference to `error_message'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:167: 
> > undefined reference to `krb5_free_principal'
> > /usr/lib64/libpq.a(fe-auth.o): In function `pg_krb5_sendauth':
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:236: 
> > undefined reference to `krb5_sname_to_principal'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:240: 
> > undefined reference to `error_message'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:258: 
> > undefined reference to `krb5_free_principal'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:263: 
> > undefined reference to `krb5_sendauth'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:293: 
> > undefined reference to `krb5_free_error'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:298: 
> > undefined reference to `krb5_free_principal'
> > /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-auth.c:288: 
> > undefined reference to `error_message'
> > collect2: ld returned 1 exit status
> > make[1]: *** [bscan] Error 1
> > make[1]: Leaving directory `/usr/local/bacula-2.2.5/src/stored'
> > 
> > 
> >   ====== Error in /usr/local/bacula-2.2.5/src/stored ======
> > 
> > looks like its all authentication issues. what do i need to do to resolve 
> > this? thanks!
> > 
> > -- michael
> > 
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> > 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
-- 
Janco van der Merwe
Open Solutions
Tel: 011 305 2887
Cell: 083 291 8536
Fax: 0866978875
__________________________________________________________________________
Think not those faithful who praise all thy words and actions; but those
who kindly reprove thy faults.
Socrates




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to