libreoffice install should not use relative sym-link

Bug #1943838 reported by Eric W. Bates
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
New
Undecided
Unassigned

Bug Description

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute

/usr/lib/libreoffice/program/soffice is symlinked twice into /usr/bin as libreoffice and soffice

 ** root@agnes ** /usr/bin ** Thu Sep 16 11:09:37
# ls -la *office
lrwxrwxrwx 1 root root 36 Sep 16 10:56 libreoffice -> ../lib/libreoffice/program/soffice
-rwxr-xr-x 1 root root 53 Aug 2 01:31 loffice
lrwxrwxrwx 1 root root 36 Sep 16 11:05 soffice -> ../lib/libreoffice/program/soffice

However, soffice is a shell script which derefs the symlink and then fails to find "../lib"

If one recreates the symlinks with full paths, all is well

 ** root@agnes ** /usr/bin ** Thu Sep 16 11:16:37
# ls -la *office
lrwxrwxrwx 1 root root 36 Sep 16 10:56 libreoffice -> /usr/lib/libreoffice/program/soffice
-rwxr-xr-x 1 root root 53 Aug 2 01:31 loffice
lrwxrwxrwx 1 root root 36 Sep 16 11:05 soffice -> /usr/lib/libreoffice/program/soffice

Tags: libreoffice
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.