ldap shared object

Daniel Wruck daniel.wruck at fbchammond.com
Fri Oct 28 14:35:35 CEST 2016

I would have loved to had a package to install. But no joy for Ubuntu users.

"As of March 2016, the Ubuntu repositories contain only version 2 of the server, which is end-of-life."

As for this dependency, where in the documentation was this libldap2-dev dependency mentioned?

Daniel Wruck

-----Original Message-----
From: Freeradius-Users [mailto:freeradius-users-bounces+daniel.wruck=fbchammond.com at lists.freeradius.org] On Behalf Of Matthew Newton
Sent: Friday, October 28, 2016 5:27 AM
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: ldap shared object

On Fri, Oct 28, 2016 at 02:29:08AM +0000, Daniel Wruck wrote:
> Having a hard time setting up my new freeRADIUS 3.0.12 on Ubuntu 
> 16.04.  I am trying to turn on ldap; I altered the file in 
> sites-available, and hand created a symlink to it from sites-enabled. 
> But now I am getting an error in radiusd -X of
> /usr/local/etc/raddb/mods-enabled/ldap[8]: Failed to link to module 
> 'rlm_ldap': /usr/local/lib/rlm_ldap.so: cannot open shared object 
> file: No such file or directory

As already mentioned,

  # apt-get install libldap2-dev

before building.

But if you follow the instructions to build packages for your system, this should all be sorted for you (and you'll have packages which is cleaner on your system as well).

See http://wiki.freeradius.org/building/Debian%20and%20Ubuntu

"Getting the source" and "Building Packages"


Matthew Newton, Ph.D. <mcn4 at leicester.ac.uk>

Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

More information about the Freeradius-Users mailing list