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

Lukas Larsson <>
Thu Apr 24 12:30:22 CEST 2014

Hello Dirkjan,

I have no objection against adding --without-systemd to configure.

However I feel that disabling it manually is a poor solution when what 
we really want is for configure to correctly detect that it is not 
possible to use systemd on your system.

Would you mind sending the output of erts/config.log so that I can have 
a look at it?

On 23/04/14 18:05, Dirkjan Ochtman wrote:
> Building Erlang 17.0 on Gentoo systems (I am the packager there),
> there have been some problems:
> https://bugs.gentoo.org/show_bug.cgi?id=508366
> make[4]: Entering directory
> '/var/tmp/portage/dev-lang/erlang-17.0/work/otp_src_17.0/erts/epmd/src'
>   CC     /var/tmp/portage/dev-lang/erlang-17.0/work/otp_src_17.0/erts/obj/x86_64-pc-linux-gnu/epmd.o
>   CC     /var/tmp/portage/dev-lang/erlang-17.0/work/otp_src_17.0/erts/obj/x86_64-pc-linux-gnu/epmd_srv.o
>   CC     /var/tmp/portage/dev-lang/erlang-17.0/work/otp_src_17.0/erts/obj/x86_64-pc-linux-gnu/epmd_cli.o
>   LD     /var/tmp/portage/dev-lang/erlang-17.0/work/otp_src_17.0/bin/x86_64-pc-linux-gnu/epmd
> /var/tmp/portage/dev-lang/erlang-17.0/work/otp_src_17.0/erts/obj/x86_64-pc-linux-gnu/epmd_srv.o:
> In function `run':
> epmd_srv.c:(.text+0x830): undefined reference to `sd_listen_fds'
> 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.
> Cheers,
> Dirkjan
> _______________________________________________
> erlang-bugs mailing list
> http://erlang.org/mailman/listinfo/erlang-bugs

More information about the erlang-bugs mailing list