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

Dirkjan Ochtman dirkjan@REDACTED
Wed Apr 23 18:05:11 CEST 2014


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



More information about the erlang-bugs mailing list