Failed to link to module "rlm_ldap"
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 ---------------
09/24/2009 04:54 PM, José Johnny RANDRIAMAMPIONONA:
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).
What packages are installed? Didn't you miss the -dev or -devel packages? -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche & Developpement +261 34 29 155 34
Am 24.09.2009 um 15:54 schrieb José Johnny RANDRIAMAMPIONONA:
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
Have you tried to run ldconfig, possibly on the directory where libldap_r.so is? [...]
Have a nice day! Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
----ldconfig -v | grep radius doesn't give any output --- I think that installing libldap library may be the solution ...but I can' t find it in any packages ... --- Is there any way to configure it (./config) during the installation to install the missing library ... Plz ...neeeeeed help. 2009/9/24 Nicolas Goutte <nicolas.goutte@extragroup.de>
Have you tried to run ldconfig, possibly on the directory where libldap_r.so is?
[...]
Have a nice day!
Nicolas Goutte
extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany
Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- JJohnny RANDRIAMAMPIONONA Phone: +212663682554, +212533158575 National School of Applied Sciences ZIP 1818 TANGIER 90000 ---------Morocco ---------------
participants (3)
-
José Johnny RANDRIAMAMPIONONA -
Nicolas Goutte -
Rakotomandimby Mihamina