You are not logged in.

#1 2014-05-03 13:44:18

dennis123123
Member
Registered: 2009-07-02
Posts: 72

Why does libreoffice have its own set of libraries instead of sharing?

I've been trying to slim down an Arch linux install as much as possible without losing functionality. Looking around /usr with "ncdu" I found /usr/lib/libreoffice/program, which contains library files, and at the top of the list libicudata.so.52 weighing in at nearly 23mb!

I also noticed I already have libicudata.so from the package "icu" (as a dependancy of firefox/qt5 amongst others)

Is there a reason why libreoffice has to be different and not share libraries with other pieces of software?

Offline

#2 2014-05-03 15:21:34

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Why does libreoffice have its own set of libraries instead of sharing?

Though 23Mb is not so big with actual disk size, I agree that something needs to be clarify.
Libreoffice-common is configured to use the system icu library which is 53, but:

$ ldd /usr/lib/libreoffice/program/soffice.bin|grep icu
        libicuuc.so.52 => /usr/lib/libreoffice/program/libicuuc.so.52 (0x00007ff62810a000)
        libharfbuzz-icu.so.0 => /usr/lib/libharfbuzz-icu.so.0 (0x00007ff62514e000)
        libicudata.so.52 => /usr/lib/libreoffice/program/libicudata.so.52 (0x00007ff6228b3000)
        libicuuc.so.53 => /usr/lib/libicuuc.so.53 (0x00007ff6213ef000)
        libicudata.so.53 => /usr/lib/libicudata.so.53 (0x00007ff61fd67000)

this shows that it uses the two versions.
You should ask one of the package maintainer, AndyRTR or Bartłomiej Piotrowski.

Offline

#3 2014-05-03 15:31:43

dennis123123
Member
Registered: 2009-07-02
Posts: 72

Re: Why does libreoffice have its own set of libraries instead of sharing?

Thanks for confirming it is unusual, I've raised a bug report for it:
https://bugs.archlinux.org/task/40204

edit: also, I really am trying to keep any bloat out of this installation, even down to removing a few MB of large icon sizes! (it's all going on a ram drive so every little helps)

Last edited by dennis123123 (2014-05-03 15:34:05)

Offline

#4 2014-05-03 15:41:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: Why does libreoffice have its own set of libraries instead of sharing?

You might want to take a look at the package logs. This was changed in the new version in testing a couple of days ago. https://projects.archlinux.org/svntogit … ibreoffice

Notice there was a serious patch applied to make it work with the new version.

Online

#5 2014-05-03 15:46:09

dennis123123
Member
Registered: 2009-07-02
Posts: 72

Re: Why does libreoffice have its own set of libraries instead of sharing?

Doh! Thanks for letting me know

Offline

Board footer

Powered by FluxBB