Git master branch & Debian build

Zenon Mousmoulas zmousm at noc.grnet.gr
Tue Nov 27 18:10:41 CET 2012


On Tue, 27 Nov 2012 11:30:26 -0500, Alan DeKok <aland at deployingradius.com>
wrote:
> Zenon Mousmoulas wrote:
>> I am also trying to build Debian packages from git master.
> 
>   Are you sure you're using the latest code from the "master" branch?  I
> added fixes a few days ago which fixed those for me.

Yes, I am tracking the master branch, pulled shortly before my previous
post:

* master                      996ac3c [origin/master] More dependencies
  remotes/origin/HEAD         -> origin/master
  remotes/origin/master       996ac3c More dependencies


> $ ldd debian/tmp/usr/sbin/radiusd
> 	linux-vdso.so.1 =>  (0x00007fff91fff000)
> 	libfreeradius-radius.so => /usr/lib/freeradius/libfreeradius-radius.so
> (0x00007f73bfe53000)
> 
>   I didn't install it because it's my main build server.  But the
> library links *are* correct.

# ldd debian/tmp/usr/sbin/freeradius 
	linux-vdso.so.1 =>  (0x00007fff22575000)
	libfreeradius-radius.so => not found
	build/lib/.libs/rlm_acctlog.so (0x00007f5fd36d4000)
	build/lib/.libs/rlm_always.so (0x00007f5fd34d1000)
	build/lib/.libs/rlm_attr_filter.so (0x00007f5fd32cf000)
	build/lib/.libs/rlm_attr_rewrite.so (0x00007f5fd30cb000)
	build/lib/.libs/rlm_cache.so (0x00007f5fd2ec7000)
	build/lib/.libs/rlm_chap.so (0x00007f5fd2cc5000)
	build/lib/.libs/rlm_checkval.so (0x00007f5fd2ac2000)
	build/lib/.libs/rlm_counter.so (0x00007f5fd28bd000)
	build/lib/.libs/rlm_cram.so (0x00007f5fd26ba000)
	build/lib/.libs/rlm_dbm.so (0x00007f5fd24b7000)
	build/lib/.libs/rlm_detail.so (0x00007f5fd22b3000)
	build/lib/.libs/rlm_dhcp.so (0x00007f5fd20b0000)
	build/lib/.libs/rlm_digest.so (0x00007f5fd1ead000)
	build/lib/.libs/rlm_dynamic_clients.so (0x00007f5fd1caa000)
	build/lib/.libs/rlm_eap.so (0x00007f5fd1aa1000)
	build/lib/.libs/rlm_eap_gtc.so (0x00007f5fd189f000)
	build/lib/.libs/rlm_eap_leap.so (0x00007f5fd1699000)
	build/lib/.libs/rlm_eap_md5.so (0x00007f5fd1496000)
	build/lib/.libs/rlm_eap_mschapv2.so (0x00007f5fd1291000)
	build/lib/.libs/rlm_eap_peap.so (0x00007f5fd108a000)
	build/lib/.libs/rlm_eap_pwd.so (0x00007f5fd0e83000)
	build/lib/.libs/rlm_eap_tls.so (0x00007f5fd0c7f000)
	build/lib/.libs/rlm_eap_ttls.so (0x00007f5fd0a79000)
	build/lib/.libs/rlm_exec.so (0x00007f5fd0875000)
	build/lib/.libs/rlm_expiration.so (0x00007f5fd0673000)
	build/lib/.libs/rlm_expr.so (0x00007f5fd046f000)
	build/lib/.libs/rlm_fastusers.so (0x00007f5fd026b000)
	build/lib/.libs/rlm_files.so (0x00007f5fd0068000)
	build/lib/.libs/rlm_ippool.so (0x00007f5fcfe63000)
	build/lib/.libs/rlm_jradius.so (0x00007f5fcfc5e000)
	build/lib/.libs/rlm_krb5.so (0x00007f5fcfa5b000)
	build/lib/.libs/rlm_ldap.so (0x00007f5fcf851000)
	build/lib/.libs/rlm_linelog.so (0x00007f5fcf64e000)
	build/lib/.libs/rlm_logintime.so (0x00007f5fcf44a000)
	build/lib/.libs/rlm_mschap.so (0x00007f5fcf241000)
	build/lib/.libs/rlm_otp.so (0x00007f5fcf039000)
	build/lib/.libs/rlm_pam.so (0x00007f5fcee36000)
	build/lib/.libs/rlm_pap.so (0x00007f5fcec31000)
	build/lib/.libs/rlm_passwd.so (0x00007f5fcea2d000)
	build/lib/.libs/rlm_perl.so (0x00007f5fce826000)
	build/lib/.libs/rlm_policy.so (0x00007f5fce61c000)
	build/lib/.libs/rlm_preprocess.so (0x00007f5fce418000)
	build/lib/.libs/rlm_python.so (0x00007f5fce214000)
	build/lib/.libs/rlm_radutmp.so (0x00007f5fce010000)
	build/lib/.libs/rlm_realm.so (0x00007f5fcde0d000)
	build/lib/.libs/rlm_replicate.so (0x00007f5fcdc0b000)
	build/lib/.libs/rlm_sim_files.so (0x00007f5fcda08000)
	build/lib/.libs/rlm_soh.so (0x00007f5fcd806000)
	build/lib/.libs/rlm_sometimes.so (0x00007f5fcd603000)
	build/lib/.libs/rlm_sql.so (0x00007f5fcd3fa000)
	build/lib/.libs/rlm_sql_iodbc.so (0x00007f5fcd1f8000)
	build/lib/.libs/rlm_sql_mysql.so (0x00007f5fccff4000)
	build/lib/.libs/rlm_sql_null.so (0x00007f5fccdf2000)
	build/lib/.libs/rlm_sql_postgresql.so (0x00007f5fccbea000)
	build/lib/.libs/rlm_sqlcounter.so (0x00007f5fcc9e6000)
	build/lib/.libs/rlm_sqlippool.so (0x00007f5fcc7e2000)
	build/lib/.libs/rlm_unix.so (0x00007f5fcc5de000)
	build/lib/.libs/rlm_utf8.so (0x00007f5fcc3dd000)
	build/lib/.libs/rlm_wimax.so (0x00007f5fcc1d9000)
	libfreeradius-eap.so => not found
	libnsl.so.1 => /lib/libnsl.so.1 (0x00007f5fcbfc1000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x00007f5fcbdab000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f5fcbba6000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f5fcb98a000)
	libreadline.so.6 => /lib/libreadline.so.6 (0x00007f5fcb746000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f5fcb50e000)
	libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007f5fcb16d000)
	libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007f5fcaf18000)
	libc.so.6 => /lib/libc.so.6 (0x00007f5fcabb5000)
	libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x00007f5fca9af000)
	libgdbm_compat.so.3 => /usr/lib/libgdbm_compat.so.3 (0x00007f5fca7ac000)
	libfreeradius-eap.so => not found
	libfreeradius-eap.so => not found
	libfreeradius-eap.so => not found
	libfreeradius-eap.so => not found
	libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f5fca4e2000)
	libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f5fca2df000)
	libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f5fca0b9000)
	libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f5fc9e6d000)
	libpam.so.0 => /lib/libpam.so.0 (0x00007f5fc9c61000)
	libperl.so.5.10 => /usr/lib/libperl.so.5.10 (0x00007f5fc98f3000)
	libm.so.6 => /lib/libm.so.6 (0x00007f5fc9671000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f5fc945a000)
	libutil.so.1 => /lib/libutil.so.1 (0x00007f5fc9256000)
	libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0x00007f5fc8da5000)
	libiodbc.so.2 => /usr/lib/libiodbc.so.2 (0x00007f5fc8b51000)
	libmysqlclient_r.so.16 => /usr/lib/libmysqlclient_r.so.16
(0x00007f5fc872e000)
	libpq.so.5 => /usr/lib/libpq.so.5 (0x00007f5fc8505000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f5fd38de000)
	libncurses.so.5 => /lib/libncurses.so.5 (0x00007f5fc82be000)
	libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f5fc80b6000)
	libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007f5fc7eb4000)
	liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f5fc7ca5000)
	libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f5fc7a8c000)
	libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f5fc77ea000)
	libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f5fc75b4000)
	libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f5fc73a4000)
	libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x00007f5fc712b000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f5fc6f28000)


I don't know what I am missing here.

But shouldn't the libraries carry a version number, like
libfreeradius-radius-3.0.0.so?

Z.



More information about the Freeradius-Users mailing list