Closed eddelbuettel closed 1 year ago
I just updated the PPA builds, and 22.04 ("jammy") built fine. For 20.04 ("focal") I got this error. Any idea?
LINK log.o draw.o i18n.o color.o activate_linux.o wayland/wayland.o x11/x11.o wayland/wlr-layer-shell-unstable-v1.o wayland/xdg-shell.o x11/XEventTypes.o /usr/bin/ld: obj/wayland/wayland.o: in function `anonymous_shm_open': wayland.c:(.text+0x219): undefined reference to `shm_open' /usr/bin/ld: wayland.c:(.text+0x23c): undefined reference to `shm_unlink' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:78: activate-linux] Error 1
Seems like it is missing a -lrt instruction. Is that biting anyone else and/or other build instructions?
-lrt
Adding -lrt to LDFLAGS fixed it.
LDFLAGS
We should close this.
I just updated the PPA builds, and 22.04 ("jammy") built fine. For 20.04 ("focal") I got this error. Any idea?
Seems like it is missing a
-lrt
instruction. Is that biting anyone else and/or other build instructions?