<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - libpixman-1.so.0 not found when LO is built with internal cairo"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121983">121983</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>libpixman-1.so.0 not found when LO is built with internal cairo
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.3.0.0.alpha0+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>timar74@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>I tried to build libreoffice/online:master docker image on Ubuntu 18.04 with
the script
<a href="https://opengrok.libreoffice.org/xref/online/docker/l10n-docker-nightly.sh">https://opengrok.libreoffice.org/xref/online/docker/l10n-docker-nightly.sh</a>
The container did not start successfully:
frk-00027-00027 2018-12-06 22:56:50.167106 [ forkit ] FTL Failed to load
/opt/libreoffice/program/libmergedlo.so: libpixman-1.so.0: cannot open shared
object file: No such file or directory| kit/Kit.cpp:2601
frk-00027-00027 2018-12-06 22:56:50.167374 [ forkit ] FTL Failed to preinit
lokit.| kit/ForKit.cpp:534
So libpixman-1.so.0 is missing.
collabora@ubuntu1804:~/online/docker$ ldd
instdir/opt/libreoffice/program/libmergedlo.so | grep pixman
libpixman-1.so.0 =>
/home/collabora/online/docker/builddir/libreoffice/workdir/UnpackedTarball/pixman/pixman/.libs/libpixman-1.so.0
(0x00007f392aa8d000)
It does not link to the libpixman-1.so.0 in instdir!
I had to hotfix this with the following patch:
diff --git a/docker/l10n-docker-nightly.sh b/docker/l10n-docker-nightly.sh
index 9e91f98..59ce780 100755
--- a/docker/l10n-docker-nightly.sh
+++ b/docker/l10n-docker-nightly.sh
@@ -114,6 +114,9 @@ EOF
mkdir -p "$INSTDIR"/opt/
cp -a libreoffice/instdir "$INSTDIR"/opt/libreoffice
+# FIXME fix RPATH of libcairo
+chrpath -r '$ORIGIN' "$INSTDIR"/opt/libreoffice/program/libcairo.so.2
+
##### loolwsd & loleaflet #####
# build
I think RPATH of libcairo.so.2 should be set properly by the build system.
Interestingly, I had this bug only on Ubuntu 18.04, for example on OpenSUSE
LEAP 15, the bug does not occur, although RPATH of libcairo.so.2 is still
wrong.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>