ldap shared object

Matthew Newton mcn4 at leicester.ac.uk
Fri Oct 28 14:49:33 CEST 2016


On Fri, Oct 28, 2016 at 12:35:35PM +0000, Daniel Wruck wrote:
> 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."

The wiki page gives you the exact instructions to build your own
packages if you read past the first paragraph.

For Debian read Ubuntu, and vice-versa. They are essentially the
same as far as this is concerned.

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

When you follow the instructions on the wiki page to build the
packages it will pull in the dependencies for you.

So this should work:

git clone https://github.com/FreeRADIUS/freeradius-server.git
cd freeradius-server
git checkout release_3_0_12
git cherry-pick e5cce05

sudo apt-get install devscripts
fakeroot debian/rules clean
sudo mk-build-deps -ir debian/control
dpkg-buildpackage -rfakeroot -b -uc

I'll see if I can tidy the paragraph about package repositories.
It looks like it's just confusing things.

Matthew



> -----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


-- 
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>


More information about the Freeradius-Users mailing list