How to install freeradius2.1.12 ? Warnings are generated at ./configure time
Hello! Here is my issue: Anytime when I try to install freeradius, I get the following warnings (this are only the warnings without the rest of output): configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer. configure: WARNING: silently not building rlm_counter. configure: WARNING: FAILURE: rlm_counter requires: libgdbm. configure: WARNING: FAILURE: rlm_dbm requires: (ndbm.h or gdbm/ndbm.h or gdbm-ndbm.h) (libndbm or libgdbm or libgdbm_compat). configure: WARNING: silently not building rlm_dbm. configure: WARNING: silently not building rlm_eap_peap. configure: WARNING: FAILURE: rlm_eap_peap requires: OpenSSL. configure: WARNING: silently not building rlm_eap_ttls. configure: WARNING: FAILURE: rlm_eap_ttls requires: OpenSSL. configure: WARNING: silently not building rlm_eap_tls. configure: WARNING: FAILURE: rlm_eap_tls requires: OpenSSL. 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_ippool. configure: WARNING: FAILURE: rlm_ippool requires: libgdbm. configure: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found! configure: WARNING: the comm_err library isn't found! configure: WARNING: silently not building rlm_krb5. configure: WARNING: FAILURE: rlm_krb5 requires: krb5.h krb5. configure: WARNING: silently not building rlm_ldap. configure: WARNING: FAILURE: rlm_ldap requires: libldap_r ldap.h. configure: WARNING: silently not building rlm_otp. configure: WARNING: FAILURE: rlm_otp requires: openssl-libs openssl-includes openssl-includes openssl-includes openssl-includes openssl-includes. configure: WARNING: silently not building rlm_pam. configure: WARNING: FAILURE: rlm_pam requires: libpam. configure: WARNING: silently not building rlm_perl. configure: WARNING: FAILURE: rlm_perl requires: libperl.so libperl.so. configure: WARNING: silently not building rlm_python. configure: WARNING: FAILURE: rlm_python requires: Python.h libpython2.7. 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-include-dir=<path>. configure: WARNING: silently not building rlm_sql_oracle. configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h. configure: WARNING: silently not building rlm_sql_unixodbc. configure: WARNING: FAILURE: rlm_sql_unixodbc requires: libodbc sql.h. If I install it (make and make install) I get an error when I try to run radius.d Can anybody give me some help on this? Thanks in advance! -- View this message in context: http://freeradius.1045715.n5.nabble.com/How-to-install-freeradius2-1-12-Warn... Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
artaxerxe wrote:
Anytime when I try to install freeradius, I get the following warnings (this are only the warnings without the rest of output):
The warnings printed out by "configure" are WARNINGS. They are not errors.
If I install it (make and make install) I get an error when I try to run radius.d
Which apparently is a secret, and you can't tell us.
Can anybody give me some help on this?
Apparently not. Alan DeKok.
This is the error: /usr/local/sbin/radiusd: error while loading shared libraries: libfreeradius-radius-2.2.0.so: cannot open shared object file: No such file or directory -- View this message in context: http://freeradius.1045715.n5.nabble.com/How-to-install-freeradius2-1-12-Warn... Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
Thank you! No idea how much you helped! Many cheers! -- View this message in context: http://freeradius.1045715.n5.nabble.com/How-to-install-freeradius2-1-12-Warn... Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
Hi,
configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work
do you want SNMP functionality (ie simultaneous usage checking via scripts?) if so, install snmp-utils
configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer.
do you want to use radsniff? if so, install pcap devel/libraries
configure: WARNING: silently not building rlm_counter. configure: WARNING: FAILURE: rlm_counter requires: libgdbm. configure: WARNING: FAILURE: rlm_dbm requires: (ndbm.h or gdbm/ndbm.h or gdbm-ndbm.h) (libndbm or libgdbm or libgdbm_compat). configure: WARNING: silently not building rlm_dbm.
do you want DBM stuff? if so, install the GDBM libraries/includes
configure: WARNING: silently not building rlm_eap_peap. configure: WARNING: FAILURE: rlm_eap_peap requires: OpenSSL.
<snip> do you wan tANY EAP functionality? if so, install openSSL libraries/headers
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.
do you want TNC? if so, install the libraries
configure: WARNING: silently not building rlm_ippool. configure: WARNING: FAILURE: rlm_ippool requires: libgdbm.
already covered above..
configure: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!
do you want any kerberos stuff? if so, install kerberos5 libraries/headers
configure: WARNING: silently not building rlm_ldap.
...and LDAP libraries/headers ..and so on...
configure: WARNING: silently not building rlm_pam.
PAM libraries/headers
configure: WARNING: silently not building rlm_perl.
PERL
configure: WARNING: silently not building rlm_python.
PYTHON
configure: WARNING: silently not building rlm_sql_iodbc.
IODBC
configure: WARNING: MySQL libraries not found. Use
..this one even says! MySQL libraries/headers
configure: WARNING: silently not building rlm_sql_postgresql.
and same for postgres
configure: WARNING: oracle headers not found. Use
..and Oracle
If I install it (make and make install) I get an error when I try to run
if you want to use any of these features then you will need to install the required system libraries and headers to allow compilation to support them. if this sort of stuff is unfamilar you might want to try by using the version supplied with your distro?? alan
Hello Alan Buxey, Thanks for your prompt response! But one question more: can you give some hints on how to install the needed features? Even more, if I run the freeradius (/usr/local/sbin/radiusd) as root, I get this error: /usr/local/sbin/radiusd: error while loading shared libraries: libfreeradius-radius-2.2.0.so: cannot open shared object file: No such file or directory Thanks in advance -- View this message in context: http://freeradius.1045715.n5.nabble.com/How-to-install-freeradius2-1-12-Warn... Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
Hi,
Thanks for your prompt response!
But one question more: can you give some hints on how to install the needed features?
use your package manager to find the required packages.... eg apt-cache search snmp or yum search openssl you'll be looking for the -dev or -devel packages generally. this really isnt a FreeRADIUS question but a 'linux skills' question. as said previously, you can use your distros provided version if you want to get familiar - when you install their version it will install other dependencies for you alan
participants (3)
-
Alan Buxey -
Alan DeKok -
artaxerxe