[erlang-bugs] epmd_srv.c:(.text+0x830): undefined reference to `sd_listen_fds'

Dirkjan Ochtman <>
Tue Apr 29 09:00:53 CEST 2014

(Lukas, thanks for your reply. I don't receive erlang-bugs email, so
I'm responding to my own email instead of yours. CC'ing me on future
email would be helpful. :))

On Wed, Apr 23, 2014 at 6:05 PM, Dirkjan Ochtman <> wrote:
> I looked at configure --help, but there doesn't seem to be anything
> about systemd in there. However, I found references to systemd in e.g.
> erts/configure.in. In Gentoo, we prefer to be explicit about
> supporting installed libraries, so I wonder if there could be a
> --disable/enable-systemd switch to configure, so that this can be
> explicitly stated at configure time.

There's a build log here:


erts/config.log is here:


A user also remarked on the fact that there seems to be a version
disparity here: "From what I can tell, erlang tries to link against
libsystemd-daemon, but systemd-212-r2 only creates libsystemd." Or
perhaps this is caused by the way we build systemd on Gentoo.

Anyway, from our point of view, automatic detection is really not what
we want. We prefer to have explicit control over which parts we want,
especially when those build-time options change what other packages
the build depends on.



More information about the erlang-bugs mailing list