[Samba] Compile issues /w kerberos - Samba - 3.0 b2

Ryan S Oltman roltman at uiuc.edu
Fri Jul 11 19:29:00 GMT 2003


I get the following compile error when compiling.  It appears to be
coming from KRB5LIBS.  I'm not sure if it is a bug that needs to be
addressed or if I screwed something up?  I'm using the standard source:

Error message
.......
Linking libsmbclient shared library bin/libsmbclient.so
PYTHON_OBJS="dynconfig.po param/loadparm.po param/params.po
lib/charcnv.po lib/debug.po lib/fault.po lib/getsmbpass.po
lib/interface.po lib/md4.po lib/interfaces.po lib/pidfile.po
lib/replace.po lib/signal.po lib/system.po lib/sendfile.po lib/time.po
lib/ufc.po lib/genrand.po lib/username.po lib/util_getent.po
lib/util_pw.po lib/access.po lib/smbrun.po lib/bitmap.po lib/crc32.po
lib/snprintf.po lib/dprintf.po lib/xfile.po lib/wins_srv.po
lib/util_str.po lib/clobber.po lib/util_sid.po lib/util_uuid.po
lib/util_unistr.po lib/util_file.po lib/data_blob.po lib/util.po
lib/util_sock.po lib/sock_exec.po lib/util_sec.po lib/talloc.po
lib/hash.po lib/substitute.po lib/fsusage.po lib/ms_fnmatch.po
lib/select.po lib/messages.po lib/tallocmsg.po lib/dmallocmsg.po
lib/md5.po lib/hmacmd5.po lib/iconv.po lib/smbpasswd.po
nsswitch/wb_client.po nsswitch/wb_common.po lib/pam_errors.po
intl/lang_tdb.po lib/account_pol.po lib/adt_tree.po lib/gencache.po
tdb/tdb.po tdb/spinlock.po tdb/tdbutil.po tdb/tdbback.po lib/module.po
lib/ldap_escape.po  libsmb/clientgen.po libsmb/cliconnect.po
libsmb/clifile.po libsmb/clikrb5.po libsmb/clispnego.po libsmb/asn1.po
libsmb/clirap.po libsmb/clierror.po libsmb/climessage.po
libsmb/clireadwrite.po libsmb/clilist.po libsmb/cliprint.po
libsmb/clitrans.po libsmb/clisecdesc.po libsmb/clidgram.po
libsmb/clistr.po libsmb/smb_signing.po libsmb/cliquota.po
libsmb/clifsinfo.po libsmb/smberr.po libsmb/credentials.po
libsmb/pwd_cache.po libsmb/clioplock.po libsmb/errormap.po
libsmb/clirap2.po libsmb/passchange.po libsmb/doserr.po
rpc_parse/parse_prs.po rpc_parse/parse_sec.po rpc_parse/parse_misc.po
libsmb/nterr.po libsmb/smbdes.po libsmb/smbencrypt.po libsmb/ntlmssp.po
libsmb/ntlmssp_parse.po libsmb/ntlmssp_sign.po libsmb/unexpected.po
libsmb/namecache.po libsmb/nmblib.po libsmb/namequery.po
libsmb/conncache.po   rpc_parse/parse_lsa.po rpc_parse/parse_net.po
rpc_parse/parse_reg.po rpc_parse/parse_rpc.po rpc_parse/parse_samr.po
rpc_parse/parse_srv.po rpc_parse/parse_wks.po rpc_parse/parse_ds.po
rpc_parse/parse_spoolss.po rpc_parse/parse_dfs.po
rpc_parse/parse_echo.po registry/reg_objects.po ubiqx/ubi_BinTree.po
ubiqx/ubi_Cache.po ubiqx/ubi_SplayTree.po ubiqx/ubi_dLinkList.po
ubiqx/ubi_sLinkList.po  rpc_client/cli_lsarpc.po rpc_client/cli_samr.po
rpc_client/cli_netlogon.po rpc_client/cli_srvsvc.po
rpc_client/cli_wkssvc.po rpc_client/cli_dfs.po rpc_client/cli_reg.po
rpc_client/cli_pipe.po rpc_client/cli_spoolss.po
rpc_client/cli_spoolss_notify.po rpc_client/cli_ds.po
rpc_client/cli_echo.po  passdb/pdb_get_set.po passdb/passdb.po
passdb/pdb_interface.po passdb/machine_sid.po passdb/util_sam_sid.po
passdb/pdb_compat.po passdb/privileges.po  passdb/pdb_ldap.po
passdb/pdb_smbpasswd.po passdb/pdb_tdb.po passdb/pdb_guest.po 
groupdb/mapping.po passdb/secrets.po libads/kerberos.po" \
PYTHON_CFLAGS="-g -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE  -g -O2  -Iinclude
-I/root/samba/samba-3.0.0beta2/source/include
-I/root/samba/samba-3.0.0beta2/source/ubiqx
-I/root/samba/samba-3.0.0beta2/source/smbwrapper  -I.
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/root/samba/samba-3.0.0beta2/source    " \
LIBS="-lcrypt -lresolv -lnsl -ldl -llber  -lldap  -lcrypto -lk5crypto
-lcom_err -lresolv -lnsl -ldl   -L/usr/lib -Wl,-rpath -Wl,/usr/lib
-lkrb5 -lk5crypto -lcom_err -lkrb5 -lgssapi_krb5" \
        python python/setup.py build
Unknown entry '-Wl,-rpath' in $LIBS variable passed to setup.py
make: *** [python_ext] Error 1

Here are my configure options:

./configure --prefix=/usr --sysconfdir=/etc/samba --localstatedir=/var
--libdir=/usr/lib/samba --with-privatedir=/etc/samba/private
--with-lockdir=/var/cache/samba --with-piddir=/var/run/samba
--with-swatdir=/usr/share/swat --with-configdir=/etc/samba
--with-logfilebase=/var/log/samba --enable-static --enable-shared
--with-manpages-langs=en --with-sendfile-support --without-spinlocks
--with-libsmbclient --with-automount --with-smbmuont --with-winbind
--with-quotas --with-tdbsam --with-syslog --with-idmap --with-utmp
--with-pam --with-pam_smbpass --enable-cups --with-ads --with-ldap
--with-python --with-readline --with-smbmount

Thanks

ryan

-- 
Ryan S Oltman <roltman at uiuc.edu>




More information about the samba mailing list