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? Thanks, Mettichi Bassem
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.
Wow, at last, no thanking in advance! -----Original Message----- From: Freeradius-Users [mailto:freeradius-users-bounces+m_zouhairy=skno.by@lists.freeradius.org] On Behalf Of Chaigneau, Nicolas Sent: Thursday, February 22, 2018 11:18 AM To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: RE: Freeradius 4
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
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.
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@lists.freeradius.org] On Behalf Of Chaigneau, Nicolas Sent: Thursday, February 22, 2018 11:30 AM To: FreeRadius users mailing list <freeradius-users@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
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@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@lists.freeradius.org] On Behalf Of Chaigneau, Nicolas Sent: Thursday, February 22, 2018 11:30 AM To: FreeRadius users mailing list <freeradius-users@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
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@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@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@lists.freeradius.org] On Behalf Of Chaigneau, Nicolas Sent: Thursday, February 22, 2018 11:30 AM To: FreeRadius users mailing list <freeradius-users@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
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@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@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@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@lists.freeradius.org] On Behalf Of Chaigneau, Nicolas > > > Sent: Thursday, February 22, 2018 11:30 AM > > > To: FreeRadius users mailing list <freeradius-users@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 >
On Feb 22, 2018, at 2:16 PM, Bassem Mettichi <mettichi@gmail.com> wrote:
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
The module isn't there. Read the output of "configure" and "make install" to see what's going on.
i don't know what is exactly the missing library to build module rlm_pam.
To be honest, you SHOULD NOT be running the v4.0.x branch. While it works, it's in development. i.e. *developers* who know what they're doing can use it. We haven't made a public release of v4. So everyone else should keep using v3. Alan DeKok.
hi, looks like you've installed the stuff into a separate directory rather than eg /usr/local/ or /usr - therefore, you will need to ensure that the /opt/freeradius/v.4.0.x/lib directory is added to the system lib path (check the e.g. /etc/ld.conf.d directory for samples and examples... then ldconfig -v et voila, system knows how and where to get libraries when running executables. this is unix 101. alan On 22 February 2018 at 13:16, Bassem Mettichi <mettichi@gmail.com> wrote: > 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@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@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@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@lists.freeradius.org] On Behalf Of Chaigneau, Nicolas >> > > Sent: Thursday, February 22, 2018 11:30 AM >> > > To: FreeRadius users mailing list <freeradius-users@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 >> > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (6)
-
Alan Buxey -
Alan DeKok -
Bassem Mettichi -
Chaigneau, Nicolas -
Mark J. Bobak -
Vacheslav