s4 on OS X
Michael Wood
esiotrot at gmail.com
Sat Jun 26 16:56:45 MDT 2010
Just to see if it would work I tried compiling Samba4 on OS X Leopard (10.5.8).
libldb-samba4.dylib failed to link:
[...]
[1809/1946] Compiling lib/smbreadline/smbreadline.c
[1810/1946] Linking default/lib/talloc/libtalloc-samba4.dylib
[1811/1946] Linking default/lib/tdb/libtdb-samba4.dylib
[1812/1946] Linking default/lib/popt/libpopt-samba4.dylib
[1813/1946] Linking default/lib/tdb/pytdb.so
[1814/1946] Linking default/lib/tevent/libtevent-samba4.dylib
[1815/1946] Linking default/lib/util/libsamba-util.dylib
[1816/1946] Linking default/source4/param/libsamba-hostconfig.dylib
[1817/1946] Linking default/source4/scripting/python/python-glue.so
[1818/1946] Linking default/source4/librpc/libndr.dylib
[1819/1946] Linking default/lib/torture/libtorture.dylib
[1820/1946] Linking default/source4/param/param.so
[1821/1946] Linking default/source4/lib/com/pycom.so
[1822/1946] Linking default/source4/librpc/libndr-standard.dylib
[1823/1946] Linking default/libcli/nbt/python-netbios.so
[1824/1946] Linking default/source4/lib/ldb/libldb-samba4.dylib
Undefined symbols:
"_gensec_session_key", referenced from:
_session_request_handler in session_1.o
_request_handler in sesssetup_8.o
"_gensec_set_target_hostname", referenced from:
_smb2_session_setup_spnego_send in session_1.o
_ldap_bind_sasl in ldap_bind_1.o
_session_setup_spnego in sesssetup_8.o
"_gensec_client_start", referenced from:
_smb2_session_init in session_1.o
_ldap_bind_sasl in ldap_bind_1.o
_session_setup_spnego in sesssetup_8.o
"_gensec_update", referenced from:
_session_request_handler in session_1.o
_smb2_session_setup_spnego_send in session_1.o
_ldap_bind_sasl in ldap_bind_1.o
_request_handler in sesssetup_8.o
_session_setup_spnego in sesssetup_8.o
_session_setup_spnego in sesssetup_8.o
"_gensec_set_target_service", referenced from:
_smb2_session_setup_spnego_send in session_1.o
_ldap_bind_sasl in ldap_bind_1.o
_session_setup_spnego in sesssetup_8.o
"_gensec_start_mech_by_oid", referenced from:
_smb2_session_setup_spnego_send in session_1.o
_session_setup_spnego in sesssetup_8.o
_session_setup_spnego in sesssetup_8.o
_session_setup_spnego in sesssetup_8.o
"_gensec_set_credentials", referenced from:
_smb2_session_setup_spnego_send in session_1.o
_ldap_bind_sasl in ldap_bind_1.o
_session_setup_spnego in sesssetup_8.o
"_gensec_init", referenced from:
_ldap_bind_sasl in ldap_bind_1.o
"_gensec_socket_init", referenced from:
_ldap_bind_sasl in ldap_bind_1.o
"_gensec_want_feature", referenced from:
_smb2_session_init in session_1.o
_session_setup_spnego in sesssetup_8.o
"_gensec_start_mech_by_sasl_list", referenced from:
_ldap_bind_sasl in ldap_bind_1.o
"_gensec_get_name_by_oid", referenced from:
_session_setup_spnego in sesssetup_8.o
_session_setup_spnego in sesssetup_8.o
_session_setup_spnego in sesssetup_8.o
_session_setup_spnego in sesssetup_8.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Waf: Leaving directory `/Users/admin/src/samba/source4/bin'
Build failed: -> task failed (err #1):
{task: cc_link
samldb_12.o,ndr_idmap_58.o,tls_1.o,tlscert_1.o,transport_1.o,request_1.o,negprot_1.o,session_1.o,tcon_1.o,create_1.o,close_1.o,connect_1.o,getinfo_1.o,write_1.o,read_1.o,setinfo_1.o,find_1.o,ioctl_1.o,logoff_1.o,tdis_1.o,flush_1.o,lock_1.o,notify_1.o,cancel_1.o,keepalive_1.o,break_1.o,util_1.o,signing_1.o,lease_break_1.o,tdb_wrap_2.o,local_password_18.o,asn1_pkcs10_asn1_70.o,base64_85.o,ct_85.o,hex_85.o,bswap_85.o,dumpdata_85.o,emalloc_85.o,ecalloc_85.o,getarg_85.o,get_window_size_85.o,getdtablesize_85.o,h_errno_85.o,issuid_85.o,net_read_85.o,net_write_85.o,parse_time_85.o,parse_units_85.o,signal_85.o,vis_85.o,strlwr_85.o,strsep_copy_85.o,strsep_85.o,strupr_85.o,strpool_85.o,estrdup_85.o,erealloc_85.o,simple_exec_85.o,strcollect_85.o,rtbl_85.o,cloexec_85.o,xfree_85.o,replace_85.o,closefrom_85.o,resolve_85.o,socket_85.o,roken_gethostby_85.o,simple_ldap_map_15.o,ndr_winbind_59.o,schema_init_5.o,schema_set_5.o,schema_query_5.o,schema_syntax_5.o,schema_description_5.o,schema_convert_to_ol_5.o,schema_inferiors_5.o,schema_prefixmap_5.o,schema_info_attr_5.o,schema_filtered_5.o,password_hash_17.o,extended_dn_store_22.o,asn1_4.o,ldap_client_1.o,ldap_bind_1.o,ldap_ildap_1.o,ldap_controls_1.o,anr_34.o,util_ldb_10.o,composite_6.o,auth_8.o,auth_util_8.o,auth_simple_8.o,show_deleted_23.o,extended_dn_out_21.o,msrpc_parse_2.o,credentials_1.o,credentials_files_1.o,credentials_ntlm_1.o,credentials_krb5_1.o,kerberos_util_1.o,extended_dn_in_20.o,dgramsocket_10.o,mailslot_10.o,netlogon_10.o,browse_10.o,asn1_hdb_asn1_75.o,lmhosts_3.o,nbtsocket_3.o,namequery_3.o,nameregister_3.o,namerefresh_3.o,namerelease_3.o,dns_hosts_file_3.o,credentials_3.o,session_3.o,smbencrypt_3.o,smbdes_3.o,cluster_1.o,local_1.o,sam_7.o,ldap_ndr_3.o,pdc_fsmo_11.o,socket_5.o,access_5.o,connect_multi_5.o,connect_5.o,partition_24.o,partition_init_24.o,socket_unix_4.o,auth_sam_reply_9.o,ldb_ildap_1.o,auth_unix_6.o,messaging_1.o,auth_server_3.o,tevent_unix_9.o,tevent_ntstatus_9.o,new_partition_26.o,skel_15.o,samba_secrets_4.o,samba_dsdb_3.o,asn1_cms_asn1_55.o,rawfile_21.o,smb_signing_21.o,clisocket_21.o,clitransport_21.o,clisession_21.o,clitree_21.o,clierror_21.o,rawrequest_21.o,rawreadwrite_21.o,rawsearch_21.o,rawsetfileinfo_21.o,raweas_21.o,rawtrans_21.o,clioplock_21.o,rawnegotiate_21.o,rawfsinfo_21.o,rawfileinfo_21.o,rawnotify_21.o,rawioctl_21.o,rawacl_21.o,rawdate_21.o,rawlpq_21.o,rawshadow_21.o,lzxpress_1.o,kludge_acl_19.o,ndr_krb5pac_49.o,ndr_krb5pac_49.o,samdb_1.o,samdb_privilege_1.o,cracknames_1.o,replicated_objects_1.o,secrets_10.o,ca_102.o,cert_102.o,cms_102.o,collector_102.o,crypto_102.o,error_102.o,env_102.o,file_102.o,keyset_102.o,ks_dir_102.o,ks_file_102.o,ks_keychain_102.o,ks_mem_102.o,ks_null_102.o,ks_p11_102.o,ks_p12_102.o,lock_102.o,name_102.o,peer_102.o,print_102.o,req_102.o,revoke_102.o,sel_102.o,hx509_err_102.o,sel-lex_102.o,sel-gram_102.o,rootdse_16.o,asn1_pkcs9_asn1_35.o,ldap_message_1.o,ndr_compression_7.o,ldif_handlers_1.o,ldb_wrap_1.o,sample_module_14.o,auth_anonymous_2.o,subtree_delete_31.o,auth_winbind_4.o,descriptor_37.o,netlogon_7.o,wins_ldb_3.o,init_sec_context_95.o,external_95.o,compat_95.o,context_stubs_95.o,cred_stubs_95.o,accept_sec_context_95.o,copy_ccache_95.o,delete_sec_context_95.o,init_sec_context_95.o,context_time_95.o,init_95.o,address_to_krb5addr_95.o,get_mic_95.o,inquire_context_95.o,add_cred_95.o,inquire_cred_95.o,inquire_cred_by_oid_95.o,inquire_cred_by_mech_95.o,inquire_mechs_for_name_95.o,inquire_names_for_mech_95.o,indicate_mechs_95.o,inquire_sec_context_by_oid_95.o,export_sec_context_95.o,import_sec_context_95.o,duplicate_name_95.o,import_name_95.o,compare_name_95.o,export_name_95.o,canonicalize_name_95.o,unwrap_95.o,wrap_95.o,release_name_95.o,cfx_95.o,8003_95.o,arcfour_95.o,encapsulate_95.o,display_name_95.o,sequence_95.o,display_status_95.o,release_buffer_95.o,external_95.o,compat_95.o,creds_95.o,acquire_cred_95.o,release_cred_95.o,store_cred_95.o,set_cred_option_95.o,decapsulate_95.o,verify_mic_95.o,accept_sec_context_95.o,set_sec_context_option_95.o,process_context_token_95.o,prf_95.o,aeap_95.o,context_95.o,gss_krb5_95.o,gss_mech_switch_95.o,gss_process_context_token_95.o,gss_buffer_set_95.o,gss_aeap_95.o,gss_add_cred_95.o,gss_cred_95.o,gss_add_oid_set_member_95.o,gss_compare_name_95.o,gss_release_oid_set_95.o,gss_create_empty_oid_set_95.o,gss_decapsulate_token_95.o,gss_inquire_cred_by_oid_95.o,gss_canonicalize_name_95.o,gss_inquire_sec_context_by_oid_95.o,gss_inquire_names_for_mech_95.o,gss_inquire_mechs_for_name_95.o,gss_wrap_size_limit_95.o,gss_names_95.o,gss_verify_95.o,gss_display_name_95.o,gss_duplicate_oid_95.o,gss_display_status_95.o,gss_release_buffer_95.o,gss_release_oid_95.o,gss_test_oid_set_member_95.o,gss_release_cred_95.o,gss_set_sec_context_option_95.o,gss_export_name_95.o,gss_seal_95.o,gss_acquire_cred_95.o,gss_unseal_95.o,gss_verify_mic_95.o,gss_accept_sec_context_95.o,gss_inquire_cred_by_mech_95.o,gss_indicate_mechs_95.o,gss_delete_sec_context_95.o,gss_sign_95.o,gss_utils_95.o,gss_init_sec_context_95.o,gss_oid_equal_95.o,gss_oid_to_str_95.o,gss_context_time_95.o,gss_encapsulate_token_95.o,gss_get_mic_95.o,gss_import_sec_context_95.o,gss_inquire_cred_95.o,gss_wrap_95.o,gss_import_name_95.o,gss_duplicate_name_95.o,gss_unwrap_95.o,gss_export_sec_context_95.o,gss_inquire_context_95.o,gss_release_name_95.o,gss_set_cred_option_95.o,gss_pseudo_random_95.o,gssapi-glue_95.o,resolve_13.o,ndr_netlogon_6.o,wb_common_1.o,imath_100.o,iprime_100.o,asq_10.o,util_tdb_8.o,bcast_15.o,nbtlist_15.o,wins_15.o,dns_ex_15.o,file_15.o,host_15.o,resolve_lp_15.o,asn1_pkinit_asn1_50.o,util_1.o,ridalloc_1.o,ndr_drsblobs_24.o,ndr_drsblobs_24.o,clireadwrite_19.o,cliconnect_19.o,clifile_19.o,clilist_19.o,clitrans2_19.o,climessage_19.o,clideltree_19.o,lazy_commit_40.o,schema_load_8.o,dsdb_cache_7.o,unix_privs_5.o,nbtname_1.o,objectguid_5.o,kerberos_1.o,clikrb5_1.o,kerberos_heimdal_1.o,kerberos_pac_1.o,gssapi_parse_1.o,krb5_init_context_1.o,keytab_copy_1.o,system_session_5.o,auth_sam_1.o,operational_36.o,ndr_drsuapi_23.o,ndr_drsuapi_23.o,ndr_irpc_14.o,naming_fsmo_10.o,pam_errors_7.o,ldb_tdb_16.o,ldb_pack_16.o,ldb_search_16.o,ldb_index_16.o,ldb_cache_16.o,ldb_tdb_wrap_16.o,asn1_rfc2459_asn1_45.o,ldb_3.o,ldb_ldif_3.o,ldb_parse_3.o,ldb_msg_3.o,ldb_utf8_3.o,ldb_debug_3.o,ldb_dn_3.o,ldb_match_3.o,ldb_modules_3.o,ldb_attributes_3.o,attrib_handlers_3.o,ldb_controls_3.o,qsort_3.o,ldb_map_3.o,ldb_map_inbound_3.o,ldb_map_outbound_3.o,com_err_105.o,error_105.o,ndr_nbt_54.o,wind_err_103.o,stringprep_103.o,errorlist_103.o,errorlist_table_103.o,normalize_103.o,normalize_table_103.o,combining_103.o,combining_table_103.o,utf8_103.o,bidi_103.o,bidi_table_103.o,ldap_103.o,map_103.o,map_table_103.o,asn1_gssapi_asn1_15.o,util_3.o,util_samr_3.o,dsdb_dn_3.o,dsdb_access_3.o,flag_mapping_3.o,asn1_pkcs8_asn1_30.o,objectclass_28.o,samba3sid_14.o,schema_data_9.o,smb2_create_blob_1.o,samba3sam_13.o,paged_results_9.o,auth_developer_5.o,aes_101.o,bn_101.o,dh_101.o,dh-imath_101.o,des_101.o,dsa_101.o,engine_101.o,md2_101.o,md4_101.o,md5_101.o,rsa_101.o,rsa-imath_101.o,rc2_101.o,rc4_101.o,rijndael-alg-fst_101.o,rnd_keys_101.o,sha_101.o,sha256_101.o,ui_101.o,evp_101.o,evp-hcrypto_101.o,pkcs5_101.o,pkcs12_101.o,rand_101.o,rand-egd_101.o,rand-unix_101.o,rand-fortuna_101.o,rand-timer_101.o,hmac_101.o,camellia_101.o,camellia-ntt_101.o,wbc_guid_1.o,wbc_idmap_1.o,wbclient_1.o,wbc_pam_1.o,wbc_pwd_1.o,wbc_sid_1.o,wbc_util_1.o,update_keytab_27.o,socket_ip_3.o,linked_attributes_32.o,paged_searches_12.o,keys_91.o,smbpasswd_1.o,der_get_99.o,der_put_99.o,der_free_99.o,der_format_99.o,der_length_99.o,der_copy_99.o,der_cmp_99.o,extra_99.o,timegm_99.o,asn1_err_99.o,asn1_pkcs12_asn1_40.o,session_1.o,tevent_s4_1.o,asn1_spnego_asn1_10.o,instancetype_35.o,ranged_results_33.o,nss_wrapper_1.o,asn1_krb5_asn1_20.o,interface_1.o,netif_1.o,subtree_rename_30.o,packet_1.o,finddcs_17.o,objectclass_attrs_29.o,ntlm_check_1.o,acache_96.o,add_et_list_96.o,addr_families_96.o,appdefault_96.o,asn1_glue_96.o,auth_context_96.o,build_ap_req_96.o,build_auth_96.o,cache_96.o,changepw_96.o,codec_96.o,config_file_96.o,constants_96.o,context_96.o,convert_creds_96.o,copy_host_realm_96.o,crc_96.o,creds_96.o,crypto_96.o,data_96.o,eai_to_heim_errno_96.o,error_string_96.o,expand_hostname_96.o,fcache_96.o,free_96.o,free_host_realm_96.o,generate_seq_number_96.o,generate_subkey_96.o,get_addrs_96.o,get_cred_96.o,get_default_principal_96.o,get_default_realm_96.o,get_for_creds_96.o,get_host_realm_96.o,get_in_tkt_96.o,get_port_96.o,init_creds_96.o,init_creds_pw_96.o,kcm_96.o,keyblock_96.o,keytab_96.o,keytab_any_96.o,keytab_file_96.o,keytab_memory_96.o,keytab_keyfile_96.o,krbhst_96.o,log_96.o,mcache_96.o,misc_96.o,mk_error_96.o,mk_priv_96.o,mk_rep_96.o,mk_req_96.o,mk_req_ext_96.o,mit_glue_96.o,n-fold_96.o,padata_96.o,pkinit_96.o,plugin_96.o,principal_96.o,prog_setup_96.o,pac_96.o,prompter_posix_96.o,rd_cred_96.o,rd_error_96.o,rd_priv_96.o,rd_rep_96.o,rd_req_96.o,replay_96.o,send_to_kdc_96.o,set_default_realm_96.o,store_96.o,store_emem_96.o,store_fd_96.o,store_mem_96.o,ticket_96.o,time_96.o,transited_96.o,v4_glue_96.o,version_96.o,warn_96.o,krb5_err_96.o,heim_err_96.o,k524_err_96.o,krb_err_96.o,krb5-glue_96.o,rdn_name_13.o,repl_decrypt_1.o,repl_meta_data_6.o,loadfile_8.o,savefile_8.o,connect_8.o,sesssetup_8.o,fetchfile_8.o,appendacl_8.o,fsinfo_8.o,smb2_8.o,sort_11.o,tsocket_1.o,tsocket_helpers_1.o,tsocket_bsd_1.o,asn1_ocsp_asn1_60.o,acl_39.o,resolve_oids_38.o
-> libldb-samba4.dylib}
What would cause this?
Thanks.
--
Michael Wood <esiotrot at gmail.com>
More information about the samba-technical
mailing list