Bug 127928 - Missing libxcb-shm.so.0 error in libreoffice/online docker image
Summary: Missing libxcb-shm.so.0 error in libreoffice/online docker image
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-02 13:37 UTC by Clément Lafont
Modified: 2019-12-01 11:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clément Lafont 2019-10-02 13:37:42 UTC
In recent docker images, libmergedlo library is missing, I've got the following message:

loolforkit version details: master.. - 078c9f28
frk-00084-00084 2019-10-02 13:17:16.570690 [ forkit ] TRC  dlopen(/opt/libreoffice/program/libmergedlo.so, RTLD_GLOBAL|RTLD_NOW)| kit/Kit.cpp:2816
Failed to load /opt/libreoffice/program/libmergedlo.so: libxcb-shm.so.0: cannot open shared object file: No such file or directory
frk-00084-00084 2019-10-02 13:17:16.610801 [ forkit ] FTL  Failed to load /opt/libreoffice/program/libmergedlo.so: 
Failed to preinit lokit.
frk-00084-00084 2019-10-02 13:17:16.610856 [ forkit ] FTL  Failed to preinit lokit.| kit/ForKit.cpp:543
wsd-00026-00083 2019-10-02 13:17:21.564646 [ prisoner_poll ] TRC  Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:521
wsd-00026-00083 2019-10-02 13:17:21.564731 [ prisoner_poll ] TRC  Poll start| ./net/Socket.hpp:511
Comment 1 Andras Timar 2019-10-04 14:07:46 UTC

This is a consequence of my patches that set the --disable-gui configure option and removed the X11 libs from the docker. Maybe my message did not get through to Cloph in irc, but I asked for a make clean in the build tree of the build host that created this docker image, because incremental build is not good enough, apparently some object file was not regenerated after --disable-gui.
Comment 2 Andras Timar 2019-12-01 11:36:02 UTC
Currently /opt/libreoffice/program/libmergedlo.so does not depend on libxcb-shm.so.0

The bug was fixed.