Failed to link to module "rlm_ldap"

José Johnny RANDRIAMAMPIONONA vasiana09 at gmail.com
Thu Sep 24 15:54:09 CEST 2009


I tried to upgrade freeradius-server-2.1.6 to freeradius-server-2.1.7 and it
worked well (in localhost) without ldap.Then I tried to use the old version
(2.1.6) but it doesn't work anymore:
*Thu Sep 24 13:32:16 2009 : Error:
/usr/local/freeradius-server-2.1.6//etc/raddb/
modules/ldap[29]: Failed to link to module 'rlm_ldap': libldap_r-2.3.so.0:
canno
t open shared object file: No such file or directory
Thu Sep 24 13:32:16 2009 : Error:
/usr/local/freeradius-server-2.1.6//etc/raddb/
sites-enabled/default[286]: Failed to find module "ldap".
Thu Sep 24 13:32:16 2009 : Error:
/usr/local/freeradius-server-2.1.6//etc/raddb/
sites-enabled/default[286]: Failed to parse "ldap" entry.
Thu Sep 24 13:32:16 2009 : Error: Errors initializing modules*

I rebuild it and ( ./configure --prefix=/usr/local/freeradius-server.2.1.6/)
and it seems that there is library problem(I had this kind of problem in the
past, but I forgot what I did to fix it).
*
configure: WARNING: pcap library not found, silently disabling the RADIUS
sniffer.
config.status: WARNING:  ./Make.inc.in seems to ignore the --datarootdir
setting
config.status: WARNING:  ./src/include/build-radpaths-h.in seems to ignore
the --datarootdir setting
configure: WARNING: silently not building rlm_eap_ikev2.
configure: WARNING: FAILURE: rlm_eap_ikev2 requires:  libeap-ikev2
EAPIKEv2/connector.h.
configure: WARNING: the TNCS library isn't found!
configure: WARNING: silently not building rlm_eap_tnc.
configure: WARNING: FAILURE: rlm_eap_tnc requires:  -lTNCS.
configure: WARNING: silently not building rlm_ldap.
configure: WARNING: FAILURE: rlm_ldap requires:  libldap_r ldap.h.
configure: WARNING: silently not building rlm_sql_iodbc.
configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h.
configure: WARNING: MySQL libraries not found. Use
--with-mysql-lib-dir=<path>.
configure: WARNING: MySQL headers not found. Use
--with-mysql-include-dir=<path>.
configure: WARNING: silently not building rlm_sql_mysql.
configure: WARNING: FAILURE: rlm_sql_mysql requires: libmysqlclient_r
mysql.h.
configure: WARNING: silently not building rlm_sql_postgresql.
configure: WARNING: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h libpq.
configure: WARNING: oracle headers not found.  Use
--with-oracle-home-dir=<path>.
configure: WARNING: silently not building rlm_sql_oracle.
configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.*


-- 
JJohnny RANDRIAMAMPIONONA
Phone: +212663682554, +212533158575
National School of Applied Sciences
ZIP 1818 TANGIER 90000
---------Morocco ---------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090924/baa7f972/attachment.html>


More information about the Freeradius-Users mailing list