Hallo,
I have a problem with LibreOffice 7.1.4.2-14.22.10.1 in OpenSuse Leap 15.3. It was working fine, but probably some update in the system (or to OpenJDK specifically) started this problem.
Running LO in terminal gives this
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 541: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!
Then
LD_DEBUG=reloc libreoffice
is generating the following string
…
8708: relocation processing: /usr/lib64/libreoffice/program/libmergedlo.so (lazy)
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 541: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!
…
Running this
ldd /usr/lib64/libreoffice/program/libmergedlo.so | grep local
is giving this
libboost_locale.so.1.66.0 => /usr/lib64/libboost_locale.so.1.66.0 (0x00007fa7c3985000)
How do I restore LO to the normal?
Help is much appreciated.
@plasmapeleng :
Hello and welcome to these Forums.
Please check the output of the following CLI commands –
“zypper verify” – the user “root” has to be used to execute this command.
“rpm --verify libreoffice” and, possibly, “rpm --verify --all” – can be executed by a “normal” user.
“zypper repos --uri repo-sle-update” – can be executed by a “normal” user.
The Leap 15.3 version of LibreOffice and, it’s dependencies, should be installed from the “Update repository with updates from SUSE Linux Enterprise 15”.
Where this version comes from? It is not from Leap 15.3.
dcurtisfra:
@plasmapeleng :
Hello and welcome to these Forums.
Please check the output of the following CLI commands –
“zypper verify” – the user “root” has to be used to execute this command.
“rpm --verify libreoffice” and, possibly, “rpm --verify --all” – can be executed by a “normal” user.
“zypper repos --uri repo-sle-update” – can be executed by a “normal” user.
The Leap 15.3 version of LibreOffice and, it’s dependencies, should be installed from the “Update repository with updates from SUSE Linux Enterprise 15”.
sudo zypper verify
Loading repository data...
Reading installed packages...
Dependencies of all installed packages are satisfied.
rpm --verify libreoffice
missing /usr/lib64/libreoffice/program/intro-highres.png
.M...UGT. /usr/lib64/libreoffice/program/libmergedlo.so
missing /usr/lib64/libreoffice/program/shell/logo.svg
missing /usr/lib64/libreoffice/program/shell/logo_inverted.svg
rpm --verify --all
S.5....T. c /etc/samba/smb.conf
..?...... c /etc/cron.deny
..?...... c /etc/crontab
missing /var/spool/cron/lastrun (Permission denied)
missing /var/spool/cron/tabs (Permission denied)
.M....... g /boot/grub2/grub.cfg
S.5....T. c /etc/default/grub
..?...... c /etc/snmp/snmpd.conf
.M....... g /var/lib/ca-certificates/ca-bundle.pem
.M....... g /var/lib/ca-certificates/java-cacerts
S.5....T. c /etc/sane.d/dll.conf
....L.... /etc/ImageMagick-7
..?...... c /etc/sudoers
.......T. c /etc/login.defs
.M....... c /var/log/NetworkManager
..?...... c /etc/wpa_supplicant/wpa_supplicant.conf
S.5....T. c /etc/apparmor.d/local/usr.sbin.smbd-shares
missing c /etc/polkit-1/rules.d/50-default.rules (Permission denied)
.M....... g /usr/share/fonts/Type1/encodings.dir
.M....... g /usr/share/fonts/cyrillic/encodings.dir
.M....... g /usr/share/fonts/cyrillic/fonts.scale
.M....... g /usr/share/fonts/truetype/encodings.dir
..?...... c /etc/ssh/sshd_config
missing c /etc/ppp/chap-secrets (Permission denied)
missing c /etc/ppp/filters (Permission denied)
missing c /etc/ppp/options (Permission denied)
missing c /etc/ppp/pap-secrets (Permission denied)
missing /etc/ppp/peers (Permission denied)
missing c /etc/ppp/peers/ppp (Permission denied)
missing c /etc/ppp/peers/pppoatm (Permission denied)
missing c /etc/ppp/peers/pppoe (Permission denied)
missing c /etc/ppp/peers/pppoe-rp (Permission denied)
missing c /etc/ppp/peers/pptp (Permission denied)
missing /etc/ppp/ip-down (Permission denied)
missing /etc/ppp/ip-down.d (Permission denied)
missing /etc/ppp/ip-up (Permission denied)
missing /etc/ppp/ip-up.d (Permission denied)
missing /etc/ppp/ipv6-down (Permission denied)
missing /etc/ppp/ipv6-down.d (Permission denied)
missing /etc/ppp/ipv6-up (Permission denied)
missing /etc/ppp/ipv6-up.d (Permission denied)
missing /etc/ppp/post-stop (Permission denied)
missing /etc/ppp/post-stop.d (Permission denied)
missing /etc/ppp/pre-start (Permission denied)
missing /etc/ppp/pre-start.d (Permission denied)
..?...... c /etc/vsftpd.conf
.M....... g /etc/iscsi/initiatorname.iscsi
..?...... c /etc/iscsi/iscsid.conf
.M....G.. g /var/log/lastlog
.M....... g /var/log/alternatives.log
..?...... c /etc/rsyncd.secrets
.M....... g /run/cryptsetup
..?...... c /etc/chrony.conf
missing c /etc/ppp/options.pptp (Permission denied)
..?...... c /etc/libaudit.conf
missing /root/.gnupg (Permission denied)
missing /root/bin (Permission denied)
.M....... g /usr/share/fonts/misc/encodings.dir
.M....... g /usr/share/fonts/misc/fonts.scale
..?...... c /etc/cups/cups-files.conf
..?...... c /etc/cups/cups-files.conf.default
..?...... c /etc/cups/cupsd.conf
..?...... c /etc/cups/cupsd.conf.default
..?...... c /etc/cups/snmp.conf
..?...... c /etc/cups/snmp.conf.default
......G.. /etc/cups/ssl
..?...... /usr/lib/cups/backend/dnssd
..?...... /usr/lib/cups/backend/ipp
..?...... /usr/lib/cups/backend/lpd
..?...... /usr/sbin/cupsd
missing /usr/lib64/libreoffice/program/intro-highres.png
.M...UGT. /usr/lib64/libreoffice/program/libmergedlo.so
missing /usr/lib64/libreoffice/program/shell/logo.svg
missing /usr/lib64/libreoffice/program/shell/logo_inverted.svg
missing c /etc/audisp/audispd.conf (Permission denied)
missing /etc/audisp/plugins.d (Permission denied)
missing c /etc/audisp/plugins.d/af_unix.conf (Permission denied)
missing c /etc/audisp/plugins.d/syslog.conf (Permission denied)
missing c /etc/audit/audit-stop.rules (Permission denied)
missing c /etc/audit/auditd.conf (Permission denied)
missing /etc/audit/rules.d (Permission denied)
missing c /etc/audit/rules.d/audit.rules (Permission denied)
..?...... /usr/sbin/audispd
..?...... /usr/sbin/auditctl
..?...... /usr/sbin/auditd
..?...... /usr/sbin/augenrules
..?...... /usr/sbin/autrace
.M....... g /etc/plymouth/plymouthd.conf
.M....... g /var/log/boot.log
missing /etc/ppp/ip-down.d/90-netconfig (Permission denied)
missing /etc/ppp/ip-up.d/10-netconfig (Permission denied)
missing /etc/ppp/netconfig (Permission denied)
missing /etc/ppp/post-stop.d/90-netconfig (Permission denied)
missing /etc/ppp/pre-start.d/10-netconfig (Permission denied)
.M....... g /run/netconfig
.M....... g /run/netconfig/resolv.conf
.M....... g /run/netconfig/yp.conf
..?...... /usr/lib/cups/backend/gutenprint52+usb
..?...... c /etc/ssh/moduli
..?...... c /etc/skel/.bash_history
.M....... g /etc/aliases.lmdb
S.5....T. c /etc/postfix/main.cf
S.5....T. c /etc/postfix/master.cf
..?...... c /etc/postfix/sasl_passwd
..?...... c /etc/sasl2/smtpd.conf
missing /var/adm/backup/postfix (Permission denied)
SM5....T. c /etc/fonts/conf.d/30-metric-aliases.conf
S.5....T. c /etc/fonts/conf.d/10-rendering-options.conf
S.5....T. c /etc/fonts/conf.d/58-family-prefer-local.conf
/usr/lib64/libexec/ksysguard/ksgrd_network_helper: cannot verify root:root 0755 - not listed in /etc/permissions
.M....... g /etc/xml/catalog-d.xml
..?...... c /etc/sysconfig/network/ifcfg-lo
S.5....T. c /etc/unixODBC/odbcinst.ini
missing /var/cache/libx11/compose/l4_030_313cb605_00280cc0
..?...... c /etc/rsyslog.conf
..?...... c /etc/rsyslog.d/NetworkManager.frule
..?...... c /etc/rsyslog.d/acpid.frule
..?...... c /etc/rsyslog.d/firewall.frule
..?...... c /etc/rsyslog.d/remote.conf
..?...... c /usr/share/apparmor/extra-profiles/usr.sbin.rsyslogd
..?...... /usr/share/fillup-templates/sysconfig.syslog-rsyslog
..?...... c /etc/autofs_ldap_auth.conf
S.5....T. c /etc/zypp/repos.d/repo-backports-debug-update.repo
.......T. c /etc/zypp/repos.d/repo-backports-update.repo
S.5....T. c /etc/zypp/repos.d/repo-sle-debug-update.repo
.......T. c /etc/zypp/repos.d/repo-sle-update.repo
..?...... c /etc/mysqlaccess.conf
missing c /etc/ppp/firewall-masq (Permission denied)
missing c /etc/ppp/firewall-standalone (Permission denied)
missing c /etc/ppp/pppoe-server-options (Permission denied)
missing /etc/ppp/rp-pppoe-gui (Permission denied)
..?...... /usr/sbin/pppoe-wrapper
S.5....T. c /etc/sddm.conf
.....UG.. g /run/sddm
..?...... /usr/lib/cups/backend/serial
.M....... g /run/mcelog
missing /usr/share/polkit-1/rules.d/60-org.freedesktop.Flatpak.rules (Permission denied)
.M....... g /var/lib/flatpak
..?...... /usr/lib/dbus-1/dbus-daemon-launch-helper
....L.... c /etc/pam.d/common-account
....L.... c /etc/pam.d/common-auth
....L.... c /etc/pam.d/common-password
....L.... c /etc/pam.d/common-session
..?...... /sbin/unix_update
.M....... g /var/lib/pulseaudio
missing /usr/lib64/mysql/plugin/auth_pam_tool_dir/auth_pam_tool (Permission denied)
missing /var/lib/xdm/authdir/authfiles (Permission denied)
.M....... g /usr/share/fonts/100dpi/encodings.dir
.M....... g /usr/share/fonts/100dpi/fonts.scale
.M....... g /usr/share/fonts/75dpi/encodings.dir
.M....... g /usr/share/fonts/75dpi/fonts.scale
missing /var/adm/backup/rpmdb (Permission denied)
missing /var/adm/backup/sysconfig (Permission denied)
..?...... /usr/bin/keygen
missing /var/spool/cups/tmp (Permission denied)
....L.... /usr/bin/vi
....L.... d /usr/share/man/man1/ftp.1.gz
.M....... g /run/avahi-daemon
missing c /etc/firewalld/firewalld.conf (Permission denied)
missing /etc/firewalld/helpers (Permission denied)
missing /etc/firewalld/icmptypes (Permission denied)
missing /etc/firewalld/ipsets (Permission denied)
missing c /etc/firewalld/lockdown-whitelist.xml (Permission denied)
missing /etc/firewalld/policies (Permission denied)
missing /etc/firewalld/services (Permission denied)
missing /etc/firewalld/zones (Permission denied)
..?...... /usr/share/fillup-templates/sysconfig.firewalld
..5...... d /usr/share/doc/HTML/ru/fundamentals/visualdict-window2.png
zypper repos --uri repo-sle-update
Alias : repo-sle-update
Name : Update repository with updates from SUSE Linux Enterprise 15
URI : http://download.opensuse.org/update/leap/15.3/sle/
Enabled : Yes
GPG Check : (r ) Yes
Priority : 99 (default priority)
Autorefresh : On
Keep Packages : Off
Type : rpm-md
GPG Key URI :
Path Prefix : /
Parent Service :
Keywords : ---
Repo Info Path : /etc/zypp/repos.d/repo-sle-update.repo
MD Cache Path : /var/cache/zypp/raw/repo-sle-update
Yes, it is, from vendor SUSE LLC, I believe. Repo per default.
This file is not from this package. Try “rpm -qf /usr/lib64/libreoffice/program/libmergedlo.so” to see whether there is some other package that installs this file. In any case you need to reinstall libreoffice and verify that file is not corrupted after that.
missing /usr/lib64/libreoffice/program/shell/logo.svg
missing /usr/lib64/libreoffice/program/shell/logo_inverted.svg
rpm --verify --all
It shows the same information.
Yes, sorry, missed update.
Post:
zypper lr -d
zypper se -si libreoffice
arvidjaar:
This file is not from this package. Try “rpm -qf /usr/lib64/libreoffice/program/libmergedlo.so” to see whether there is some other package that installs this file. In any case you need to reinstall libreoffice and verify that file is not corrupted after that.
It shows the same information.
Yes, sorry, missed update.
Never mind and thanks for replying.
It is installed solely by LO
rpm -qf /usr/lib64/libreoffice/program/libmergedlo.so
libreoffice-7.1.4.2-14.22.10.1.x86_64
I’ve tried reinstalling LO before posting here because the file was corrupted. No go - yast/zypper hangs at about 50 percent. Still, a copy of libmergedlo.so adopted from the fresh install of Leap in my VM rig has solved the problem - after running
systemctl
followed on the next boot by
fsck
LO is launchable again. Should I reinstall it now? It ain’t broken any more, right?
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service---+---------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
1 | ftp.gwdg.de-openSUSE_Leap_$releasever | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/ |
2 | openSUSE-Leap-15.3-1 | openSUSE-Leap-15.3-1 | No | ---- | ---- | 99 | NONE | hd:/?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Blade_200443169007E9B2CF38-0:0-part2 |
3 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/update/leap/15.3/backports_debug/ |
4 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.3/backports/ |
5 | repo-debug | Debug Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.3/repo/oss/ |
6 | repo-debug-non-oss | Debug Repository (Non-OSS) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.3/repo/non-oss/ |
7 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.3/oss/ |
8 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.3/non-oss/ |
9 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/ |
10 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/oss/ |
11 | repo-sle-debug-update | Update repository with debuginfo for updates from SUSE Linux Enterprise 15 | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.3/sle/ |
12 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.3/sle/ |
13 | repo-source | Source Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/ |
14 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.3/oss/ |
15 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.3/non-oss/ |
Loading repository data...Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-------------------------------+---------+--------------------------+--------+-------------------------------------------------------------
i+ | libreoffice | package | 7.1.4.2-14.22.10.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | libreoffice-branding-openSUSE | package | 15.3.20210112-lp153.1.26 | noarch | Main Repository
i | libreoffice-calc | package | 7.1.4.2-14.22.10.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i | libreoffice-draw | package | 7.1.4.2-14.22.10.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | libreoffice-icon-themes | package | 7.1.4.2-14.22.10.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
i | libreoffice-impress | package | 7.1.4.2-14.22.10.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | libreoffice-l10n-de | package | 7.1.4.2-14.22.10.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
i+ | libreoffice-l10n-en | package | 7.1.4.2-14.22.10.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
i+ | libreoffice-l10n-en_GB | package | 7.1.4.2-14.22.10.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
i+ | libreoffice-l10n-ru | package | 7.1.4.2-14.22.10.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
i+ | libreoffice-math | package | 7.1.4.2-14.22.10.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | libreoffice-qt5 | package | 7.1.4.2-14.22.10.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
@plasmapeleng :
Please execute the following, with the user “root”:
“zypper refresh --force”
“zypper install --force libreoffice”
You may have to, also, forcibly re-install the rest of the LibreOffice suite –
libreoffice-base
libreoffice-branding-openSUSE
libreoffice-calc
libreoffice-draw
libreoffice-filters-optional
libreoffice-gnome
libreoffice-gtk2
libreoffice-gtk3
libreoffice-icon-themes
libreoffice-impress
libreoffice-l10n-en – plus, possibly, “libreoffice-l10n-??” for your Locale …
libreoffice-mailmerge
libreoffice-math
libreoffice-pyuno
libreoffice-qt5
libreoffice-share-linker
libreoffice-writer
dcurtisfra:
@plasmapeleng :
Please execute the following, with the user “root”:
“zypper refresh --force”
“zypper install --force libreoffice”
You may have to, also, forcibly re-install the rest of the LibreOffice suite –
libreoffice-base
libreoffice-branding-openSUSE
libreoffice-calc
libreoffice-draw
libreoffice-filters-optional
libreoffice-gnome
libreoffice-gtk2
libreoffice-gtk3
libreoffice-icon-themes
libreoffice-impress
libreoffice-l10n-en – plus, possibly, “libreoffice-l10n-??” for your Locale …
libreoffice-mailmerge
libreoffice-math
libreoffice-pyuno
libreoffice-qt5
libreoffice-share-linker
libreoffice-writer
To me it looks like an rpm issue.
Neither can I
sudo zypper install --force libreoffice
nor can I remove libreoffice-l10n-en_GB 7.1.4.2-14.22.10.1
rpm hangs at 25 perecent CPU load.
Please take a look https://drive.google.com/file/d/17dIfmd37Mvec_2CYqHnrCB2GbQwCERNn/view?usp=sharing
plasmapeleng:
Please take a look
Please be aware that, there’s an openSUSE Paste facility – <SUSE Paste .
Or, an uncommon system behaviour –
Are critical system partitions misbehaving?
*=2]Do “/var” and “/tmp” have enough free space?
*=2]Doe the other system directories have enough free space?
Does the system space use the Btrfs file-system?
If yes, have the Btrfs house-keeping tasks been regularly executed?
*=2]Have the Btrfs “balance” and “scrub” house-keeping tasks been regularly executed?
If not Btrfs, have the File-system checks been executed?
Good questions, indeed.
No, not really. Every now and then my T510 may strike a bump so that I have to press “reset” to make it play again. This misbehaving is beyond the scope of this thread, I believe.
Yes, there is enough free space in both of the directories (proper sudo rm /tmp/* -rf among others)
Yes, they do
No, ext3
…
Yes, fsck on monthly basis
My memory is that shortly before LO failed to start I had to hard reset my laptop in the middle of update (low on battery, power supply interruption). I executed systemctl followed by fsck when booting again - specifically in this folder /dev/disk/by-uuid… which turned to be corrupted.
By now I’ve managed to remove libreoffice-l10n-en_GB 7.1.4.2-14.22.10.1 by running sudo rpm -e libreoffice-l10n-en_GB 7.1.4.2-14.22.10.1 and doing sudo rpm --rebuilddb prior to this. I guess corrupted data base could stop zypper from installing LO, right? I haven’t reinstalled LO though.
Yes, Zypper/Zypp use RPM and, if the RPM Database is corrupt then, Zypper will misbehave …
That’s it really. Very straightforward situation. Thanks a bunch:)