On Tue, 19 Feb 2008 11:03:06 +0200, Bruno Friedmann <[EMAIL PROTECTED]>  
wrote:

> Vladimir Vasilev wrote:
>> Hi folks
>>
>> I'm backing up some systems with bacula over TLS. It's working fine.  
>> But I
>> have some problems compiling statically linked bacula-fd with ssl  
>> enabled
>> for the rescue cd. Here is the output:
>>
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `get_rc_clockskew':
>> (.text+0x111): undefined reference to `krb5_rc_default'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `get_rc_clockskew':
>> (.text+0x12c): undefined reference to `krb5_rc_initialize'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `get_rc_clockskew':
>> (.text+0x152): undefined reference to `krb5_rc_get_lifespan'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `get_rc_clockskew':
>> (.text+0x16c): undefined reference to `krb5_rc_destroy'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_validate_times':
>> (.text+0x1a4): undefined reference to `krb5_init_context'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_validate_times':
>> (.text+0x1c7): undefined reference to `krb5_timeofday'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_validate_times':
>> (.text+0x1ea): undefined reference to `krb5_free_context'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_krb5_free_data_contents':
>> (.text+0x271): undefined reference to `krb5_free_data_contents'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_tgt_is_available':
>> (.text+0x2ea): undefined reference to `krb5_init_context'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_tgt_is_available':
>> (.text+0x306): undefined reference to `krb5_free_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_tgt_is_available':
>> (.text+0x31c): undefined reference to `krb5_free_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_tgt_is_available':
>> (.text+0x32b): undefined reference to `krb5_free_context'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_tgt_is_available':
>> (.text+0x36b): undefined reference to `krb5_sname_to_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_tgt_is_available':
>> (.text+0x385): undefined reference to `krb5_cc_default'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_tgt_is_available':
>> (.text+0x3a6): undefined reference to `krb5_cc_get_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_tgt_is_available':
>> (.text+0x3d8): undefined reference to `krb5_get_credentials'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_keytab_is_available':
>> (.text+0x445): undefined reference to `krb5_init_context'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_keytab_is_available':
>> (.text+0x46e): undefined reference to `krb5_kt_resolve'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_keytab_is_available':
>> (.text+0x4aa): undefined reference to `krb5_sname_to_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_keytab_is_available':
>> (.text+0x4d7): undefined reference to `krb5_kt_get_entry'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_keytab_is_available':
>> (.text+0x4fa): undefined reference to `krb5_kt_close'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_keytab_is_available':
>> (.text+0x510): undefined reference to `krb5_free_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_keytab_is_available':
>> (.text+0x51f): undefined reference to `krb5_free_context'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_keytab_is_available':
>> (.text+0x538): undefined reference to `krb5_kt_free_entry'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_keytab_is_available':
>> (.text+0x54e): undefined reference to `krb5_kt_default'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `populate_cksumlens':
>> (.text+0xa97): undefined reference to `valid_cksumtype'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `populate_cksumlens':
>> (.text+0xac1): undefined reference to `krb5_checksum_size'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `populate_cksumlens':
>> (.text+0xafa): undefined reference to `krb5_checksum_size'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x16c1): undefined reference to `krb5_init_context'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x16fd): undefined reference to `krb5_sname_to_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x175e): undefined reference to `krb5_free_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x1777): undefined reference to `krb5_free_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x178d): undefined reference to `krb5_auth_con_free'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x179c): undefined reference to `krb5_free_context'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x17be): undefined reference to `krb5_cc_default'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x17e0): undefined reference to `krb5_cc_get_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x18a1): undefined reference to `krb5_get_credentials'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_cget_tkt':
>> (.text+0x1925): undefined reference to `krb5_mk_req_extended'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1ca7): undefined reference to `krb5_auth_con_free'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1cd3): undefined reference to `krb5_auth_con_init'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1d0c): undefined reference to `krb5_kt_close'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1d25): undefined reference to `krb5_free_ticket'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1d3e): undefined reference to `krb5_free_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1d6e): undefined reference to `krb5_auth_con_getrcache'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1dae): undefined reference to `krb5_sname_to_principal'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1de2): undefined reference to `krb5_auth_con_setrcache'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1e13): undefined reference to `krb5_kt_resolve'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1f3d): undefined reference to `krb5_init_context'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1f8e): undefined reference to `krb5_get_server_rcache'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x1fe1): undefined reference to `krb5_principal_compare'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x2069): undefined reference to `krb5_kt_default'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x20c9): undefined reference to `krb5_kt_get_entry'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x213f): undefined reference to `krb5_decrypt_tkt_part'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libssl.a(kssl.o): In
>> function `kssl_sget_tkt':
>> (.text+0x2165): undefined reference to `krb5_kt_free_entry'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libcrypto.a(dso_dlfcn.o):  
>> In
>> function `dlfcn_bind_func':
>> (.text+0x1b4): undefined reference to `dlsym'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libcrypto.a(dso_dlfcn.o):  
>> In
>> function `dlfcn_bind_func':
>> (.text+0x299): undefined reference to `dlerror'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libcrypto.a(dso_dlfcn.o):  
>> In
>> function `dlfcn_bind_var':
>> (.text+0x334): undefined reference to `dlsym'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libcrypto.a(dso_dlfcn.o):  
>> In
>> function `dlfcn_bind_var':
>> (.text+0x419): undefined reference to `dlerror'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libcrypto.a(dso_dlfcn.o):  
>> In
>> function `dlfcn_unload':
>> (.text+0x495): undefined reference to `dlclose'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libcrypto.a(dso_dlfcn.o):  
>> In
>> function `dlfcn_load':
>> (.text+0x594): undefined reference to `dlopen'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libcrypto.a(dso_dlfcn.o):  
>> In
>> function `dlfcn_load':
>> (.text+0x60a): undefined reference to `dlclose'
>> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libcrypto.a(dso_dlfcn.o):  
>> In
>> function `dlfcn_load':
>> (.text+0x641): undefined reference to `dlerror'
>> collect2: ld returned 1 exit status
>> make[1]: *** [static-bacula-fd] Error 1
>> make[1]: Leaving directory `/usr/src/bacula-2.2.7/src/filed'
>>
>>
>>    ====== Error in /usr/src/bacula-2.2.7/src/filed ======
>>
>>
>> This is on CentOS 5.1.
>> openssl-devel-0.9.8b-8.3.el5
>> openssl-0.9.8b-8.3.el5
>> openssl097a-0.9.7a-9
>> pam_krb5-2.2.11-1
>> krb5-libs-1.5-26
>> krb5-workstation-1.5-26
>> krb5-devel-1.5-26
>>
>> On Debian etch the errors are similar.
>>
>> Do anyone has a clue?
>>
>
> I don't remenber where if it was in configure script or documentation or  
> both.
> But static isn't possible with openssl.
> In the reference there's the why ...
>



Hmm.. Too bad.
Thanks

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to