summaryrefslogtreecommitdiffstats
path: root/doc/antora/modules/installation/pages/dependencies.adoc
blob: e910e76561712e782165d175fea93e7f83da1d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
= FreeRADIUS Dependencies

Some external dependencies must be installed before building or
running FreeRADIUS. The core depends on two mandatory libraries:
`libtalloc` for memory management and `libkqueue` for event
handling.

Many of the modules also have optional dependencies. For example,
the LDAP module requires LDAP client libraries to be installed
and database modules need their respective database client
libraries.

If building from source code, the configure stage will check for
the optional dependencies. Any missing libraries will cause that
particular module to be skipped.

== Libraries

=== libtalloc

Talloc is a memory allocation library available at
https://talloc.samba.org/talloc/doc/html/index.html

*OSX*

`# brew install talloc`

*Debian, Ubuntu and `dpkg`-based systems*

`# apt-get install libtalloc-dev`

*RedHat or CentOS*

```
# subscription-manager repos --enable rhel-7-server-optional-rpms
# yum install libtalloc-dev
```

=== kqueue

Kqueue is an event / timer API originally written for BSD systems.
It is _much_ simpler to use than third-party event libraries. A
library, `libkqueue`, is available for Linux systems.

*OSX*

_kqueue is already available, there is nothing to install._

*Debian, Ubuntu and `dpkg`-based systems*

`# apt-get install libkqueue-dev`

*RedHat or CentOS*

```
# subscription-manager repos --enable rhel-7-server-optional-rpms
# yum install libkqueue-dev
```