Opened 10 years ago

Closed 10 years ago

#4947 closed defect (overcomebyevents)

Samba depends on libtirpc

Reported by: Miklos Karacsony Owned by: bdubbs@…
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description (last modified by bdubbs@…)

Tried to build without it:

/usr/bin/ld: cannot find -ltirpc
collect2: error: ld returned 1 exit status
Build failed:  -> task failed (err #1): 
	{task: cc_link asys_1.o,service_40.o,authdata_72.o,srv_ntsvcs_nt_18.o,
srv_ntsvcs_18.o,srv_dfs_nt_20.o,srv_dfs_20.o,afs_settoken_75.o,
afs_74.o,srv_eventlog_nt_23.o,srv_eventlog_reg_23.o,
srv_eventlog_23.o,svc_spoolss_104.o,
svc_rcinit_104.o,svc_winreg_glue_104.o,svc_netlogon_104.o,
svc_winreg_104.o,svc_wins_104.o,ndr_perfcount_7.o,
rpc_server_4.o,srv_echo_nt_24.o,srv_echo_24.o,
printing_89.o,nt_printing_89.o,nt_printing_tdb_89.o,
nt_printing_migrate_internal_89.o,nt_printing_ads_89.o,
queue_process_89.o,srv_wkssvc_nt_16.o,srv_wkssvc_16.o,
rpc_ep_register_7.o,dcerpc_ep_7.o,srv_netlog_nt_19.o,
srv_netlogon_19.o,pcap_93.o,print_svid_93.o,print_aix_93.o,
print_cups_93.o,print_generic_93.o,lpq_parse_93.o,load_93.o,
print_standard_93.o,print_iprint_93.o,printer_list_93.o,
regfio_41.o,reg_parse_prs_41.o,server_reload_83.o,files_83.o,
connection_83.o,utmp_83.o,session_83.o,dfree_83.o,dir_83.o,
password_83.o,conn_msg_83.o,conn_idle_83.o,share_access_83.o,
fileio_83.o,ipc_83.o,lanman_83.o,negprot_83.o,message_83.o,
nttrans_83.o,pipes_83.o,reply_83.o,sesssetup_83.o,trans2_83.o,
uid_83.o,dosmode_83.o,filename_83.o,open_83.o,close_83.o,
blocking_83.o,sec_ctx_83.o,srvstr_83.o,vfs_83.o,perfcount_83.o,
statcache_83.o,seal_83.o,posix_acls_83.o,sysacls_83.o,
process_83.o,service_83.o,error_83.o,printspoolss_83.o,
spoolssd_83.o,sysquotas_83.o,sysquotas_linux_83.o,
sysquotas_xfs_83.o,sysquotas_4A_83.o,sysquotas_4B_83.o,
sysquotas_nfs_83.o,background_83.o,sessionid_tdb_83.o,
conn_tdb_83.o,fake_file_83.o,quotas_83.o,ntquotas_83.o,
msdfs_83.o,aio_83.o,statvfs_83.o,dmapi_83.o,signing_83.o,
file_access_83.o,dnsregister_83.o,globals_83.o,smb2_server_83.o,
smb2_glue_83.o,smb2_negprot_83.o,smb2_sesssetup_83.o,
smb2_tcon_83.o,smb2_create_83.o,smb2_close_83.o,
smb2_flush_83.o,smb2_read_83.o,smb2_write_83.o,smb2_lock_83.o,
smb2_ioctl_83.o,smb2_ioctl_dfs_83.o,smb2_ioctl_filesys_83.o,
smb2_ioctl_named_pipe_83.o,smb2_ioctl_network_fs_83.o,
smb2_keepalive_83.o,smb2_find_83.o,smb2_notify_83.o,
smb2_getinfo_83.o,smb2_setinfo_83.o,smb2_break_83.o,
smbXsrv_version_83.o,smbXsrv_session_83.o,smbXsrv_tcon_83.o,
smbXsrv_open_83.o,server_exit_83.o,durable_83.o,scavenger_83.o,
mangle_83.o,mangle_hash_83.o,mangle_hash2_83.o,oplock_83.o,
oplock_irix_83.o,oplock_linux_83.o,notify_83.o,notify_inotify_83.o,
notify_internal_83.o,build_options_83.o,eventlog_102.o,
srv_samr_nt_11.o,srv_samr_util_11.o,srv_samr_chgpasswd_11.o,
srv_samr_11.o,profile_87.o,vfs_dfs_samba4_78.o,ldap_printer_73.o,
reg_api_regf_42.o,srv_initshutdown_nt_14.o,srv_initshutdown_14.o,
locking_86.o,brlock_86.o,posix_86.o,share_mode_lock_86.o,
srv_srvsvc_nt_21.o,srv_srvsvc_21.o,rpc_ncacn_np_3.o,
rpc_handles_3.o,rpc_contexts_3.o,srv_pipe_hnd_26.o,
srv_pipe_26.o,rpc_sock_helper_26.o,rpc_service_setup_26.o,
srv_spoolss_nt_22.o,srv_spoolss_22.o,srv_spoolss_util_22.o,
ndr_printcap_21.o,cli_winreg_int_135.o,srv_svcctl_nt_17.o,
srv_svcctl_reg_17.o,srv_svcctl_17.o,srv_epmapper_25.o,
srv_epmapper_25.o,srv_pipe_register_6.o,vfs_default_6.o,
srv_access_check_10.o,dcesrv_auth_generic_5.o,ndr_ioctl_150.o,
ndr_smb_acl_51.o,reg_backend_printing_47.o,reg_backend_shares_47.o,
reg_backend_netlogon_params_47.o,reg_backend_prod_options_47.o,
reg_backend_tcpip_params_47.o,reg_backend_hkpt_params_47.o,
reg_backend_current_version_47.o,reg_backend_perflib_47.o,
reg_init_full_47.o,reg_perfcount_47.o,notify_88.o,
printing_db_88.o,filename_util_95.o,srv_winreg_nt_13.o,
srv_winreg_13.o,srv_lsa_nt_12.o,srv_lsa_12.o,rpc_config_2.o,
vfs_posixacl_35.o,srv_dssetup_nt_15.o,srv_dssetup_15.o -> libsmbd_base.so}
make: *** [all] Error 1

Change History (4)

comment:1 by bdubbs@…, 10 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:2 by bdubbs@…, 10 years ago

Description: modified (diff)

I did a grep of the entire build directory after the make phase and could not find 'tirpc'. I need some more info to see how to duplicate the error. I also did a ldd on *all* libraries and could not find any reference to libtirpc.

If I do not hear any further info about how to duplicate this error in the next two days, I'll mark this as 'worksforme'. Also, it would have been really nice if the original ticket submission was formatted better.

comment:3 by Armin K, 10 years ago

Before LFS-7.5, Samba had a required dep on libtirpc and a sed that makes it explicitly link to it since Glibc had RPC disabled. Before {,B}LFS 7.5 release (when packages were checked) I removed the sed and dep. on libtirpc since it worked without it.

comment:4 by bdubbs@…, 10 years ago

Resolution: overcomebyevents
Status: assignedclosed

Samba 4.1.7 was just added to the book and it has no tirpc dependencies.

Note: See TracTickets for help on using tickets.