Public bug reported:

# 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

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: libreoffice

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1943838

Title:
  libreoffice install should not use relative sym-link

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1943838/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to