| 1 |
= Dependencies |
| 2 |
|
| 3 |
Some external dependencies must be installed before building or |
| 4 |
running FreeRADIUS. For version 3, the core depends on one |
| 5 |
mandatory library: `libtalloc` for memory management. |
| 6 |
|
| 7 |
Many of the modules also have optional dependencies. For example, |
| 8 |
the LDAP module requires LDAP client libraries to be installed |
| 9 |
and database modules need their respective database client |
| 10 |
libraries. |
| 11 |
|
| 12 |
If building from source code, the configure stage will check for |
| 13 |
the optional dependencies. Any missing libraries will cause that |
| 14 |
particular module to be skipped. |
| 15 |
|
| 16 |
== Libraries |
| 17 |
|
| 18 |
=== libtalloc |
| 19 |
|
| 20 |
Talloc is a memory allocation library available on the |
| 21 |
https://talloc.samba.org/talloc/doc/html/index.html[Samba] website. |
| 22 |
|
| 23 |
*OSX* |
| 24 |
|
| 25 |
`# brew install talloc` |
| 26 |
|
| 27 |
*Debian, Ubuntu and `dpkg`-based systems* |
| 28 |
|
| 29 |
`# apt-get install libtalloc-dev` |
| 30 |
|
| 31 |
*RedHat, CentOS, Rocky Linux or equivalent* |
| 32 |
|
| 33 |
``` |
| 34 |
# yum install libtalloc-devel |
| 35 |
``` |