Building FreeRadius with custom LDAP libraries

Nikolaos Milas nmilas at noa.gr
Thu Sep 12 16:02:57 CEST 2013


On 12/9/2013 2:46 μμ, Arran Cudbard-Bell wrote:

> Your linker's search path doesn't include the directory the libraries are in.

Hmm, it seems the path is included but the ldap libs therein are not 
used because there is an "override" in /etc/ld.so.conf:

# ldconfig -v | grep -v ^$'\t'
/usr/lib64/atlas:
/usr/lib64/mysql:
/usr/lib64/qt-3.3/lib:
/usr/lib64/xulrunner:
/usr/local/berkeleydb/lib64:
/usr/local/openldap/lib64:
/lib:
/lib64:
/usr/lib:
/usr/lib64:
/lib64/tls: (hwcap: 0x8000000000000000)
/usr/lib64/sse2: (hwcap: 0x0000000004000000)
/usr/lib64/tls: (hwcap: 0x8000000000000000)

ldconfig -v output does not list any *ldap* libraries in /usr/lib64 
although they exist (while it lists *ldap* libs in 
/usr/local/openldap/lib64), obviously because:

# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/berkeleydb/lib64
/usr/local/openldap/lib64

Regards,
Nick



More information about the Freeradius-Users mailing list