Freeradius 4

Bassem Mettichi mettichi at gmail.com
Thu Feb 22 14:16:25 CET 2018


Hello,

thanks a lot Mark for your help, this solved my issue but now i get this
error:

/opt/freeradius/v.4.0.x/etc/raddb/mods-enabled/pam[15]: Failed to link to
module "rlm_pam": rlm_pam.so: cannot open shared object file: No such file
or directory
/opt/freeradius/v.4.0.x/lib/rlm_pam.so: cannot open shared object file: No
such file or directory
/opt/freeradius/v.4.0.x/etc/raddb/mods-enabled/pam[15]: Make sure it (and
all its dependent libraries!) are in the search path of your system's ld


i don't know what is exactly the missing library to build module rlm_pam.


Regards,
Bassem

2018-02-22 12:28 GMT+01:00 Mark J. Bobak <mark at bobak.net>:

> Hi Bassem,
>
> The error means that the r rcutable cannot find the 'freeradius-server.so'
> shared library.  Find that file on your system, make note of the directory
> that file is in, add that directory to LD_LIBRARY_PATH environment
> variable:
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/you/identified
>
> If that works, consider adding path to /etc/ld.so.conf for more permanent
> fix.
>
> Hope that helps,
>
> -Mark
>
> PS. If you do 'ldd raduisd', you will see if any other shared libraries
> will hit same error.
>
> On Thu, Feb 22, 2018, 03:37 Bassem Mettichi <mettichi at gmail.com> wrote:
>
> > hello,
> >
> > what about this: radiusd: error while loading shared libraries:
> > libfreeradius-server.so: cannot open shared object file: No such file or
> > directory
> >
> > i didn't get any error during make and make install but when i start the
> > service i get this error.
> >
> > nice day for you all.
> >
> > Bassem
> >
> >
> > 2018-02-22 9:32 GMT+01:00 Vacheslav <m_zouhairy at skno.by>:
> >
> > > Or you are hasting and you have not understood or are you new to the
> > list?
> > >
> > > -----Original Message-----
> > > From: Freeradius-Users [mailto:freeradius-users-bounces+m_zouhairy=
> > > skno.by at lists.freeradius.org] On Behalf Of Chaigneau, Nicolas
> > > Sent: Thursday, February 22, 2018 11:30 AM
> > > To: FreeRadius users mailing list <freeradius-users at lists.
> freeradius.org
> > >
> > > Subject: RE: Freeradius 4
> > >
> > > Yes. This is a thankless post. :)
> > >
> > >
> > > >
> > > > Wow, at last, no thanking in advance!
> > > >
> > > >
> > > > >Yes, I've had this also. Reported, but it's not fixed yet... soon I
> > > > >guess . :)
> > > >
> > > > >To solve this in the meantime, edit the following file:
> > > >
> > > > >src/protocols/dhcpv4/decode.c
> > > >
> > > >
> > > > >And add this include:
> > > >
> > > > >#include <freeradius-devel/libradius.h>
> > > >
> > > >
> > > >
> > > > >Regards,
> > > > Nicolas.
> > > >
> > > >
> > > > >
> > > > > Hello,
> > > > >
> > > > > iam trying to compile freeradius 4 but when i run make i get this
> > > error:
> > > > >
> > > > >
> > > > > CC src/protocols/dhcpv4/decode.c
> > > > > src/protocols/dhcpv4/decode.c: In function
> ‘fr_dhcpv4_decode_option’:
> > > > > src/protocols/dhcpv4/decode.c:376:55: error: ‘FR_VENDOR_SPECIFIC’
> > > > > undeclared (first use in this function)
> > > > >   parent = fr_dict_attr_child_by_num(packet_ctx->root,
> > > FR_VENDOR_SPECIFIC);
> > > > >                                                        ^
> > > > > src/protocols/dhcpv4/decode.c:376:55: note: each undeclared
> > > > > identifier is reported only once for each function it appears in
> > > > > make: *** [build/objs/src/protocols/dhcpv4/decode.lo] Error 1
> > > > >
> > > > >
> > > > >
> > > > > any one has an idea about this error please, how to solve this
> issue?
> > > > >
> > > This message contains information that may be privileged or
> confidential
> > > and is the property of the Capgemini Group. It is intended only for the
> > > person to whom it is addressed. If you are not the intended recipient,
> > you
> > > are not authorized to read, print, retain, copy, disseminate,
> distribute,
> > > or use this message or any part thereof. If you receive this message in
> > > error, please notify the sender immediately and delete all copies of
> this
> > > message.
> > >
> > > -
> > > List info/subscribe/unsubscribe? See http://www.freeradius.org/
> > > list/users.html
> > >
> > >
> > >
> > > -
> > > List info/subscribe/unsubscribe? See http://www.freeradius.org/
> > > list/users.html
> > >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html
>


More information about the Freeradius-Users mailing list