尝试在 64 位 Ubuntu 上运行 32 位 dbg 构建 LibreOffice...
$ LibreOfficeDev_5.3.0.0.alpha0_Linux_x86_archive/program/soffice
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
/..archive/program/soffice.bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
$ sudo apt-get install libdbus-glib-1-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdbus-glib-1-2 is already the newest version (0.106-1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
openJDK 和 Oracle/Sun JRE 可用。有什么提示吗?
答案1
我刚刚在生产机器上使用最新的 libreoffice 时遇到了这个问题。
LibreOffice 5.1.6.2 10m0(Build:2)
修理:
sudo apt -y install libreoffice-base
这将安装 libreoffice 的所有必需软件,包括 java-jre