Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: ICU74 and Libreoffice (Read 727 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

ICU74 and Libreoffice

Hi,
after the last update libreoffice, both still and fresh, don't work cause both need icu 73  and now is installed icu 74. Somebody know when this question will be corrected? To downgrade icu is not so simple and libreoffice is one of the program more used, not only from me, I think :-)

Regards and thank you for the answer.

Re: ICU74 and Libreoffice

Reply #1
Code: [Select]
ldd /usr/lib/libreoffice/program/soffice.bin |grep icu
        libicuuc.so.74 => /usr/lib/libicuuc.so.74 (0x00007fb4a9c00000)
        libicudata.so.74 => /usr/lib/libicudata.so.74 (0x00007fb4a4600000)
        libicui18n.so.74 => /usr/lib/libicui18n.so.74 (0x00007fb4a3800000)
        libharfbuzz-icu.so.0 => /usr/lib/libharfbuzz-icu.so.0 (0x00007fb4a958f000)
Code: [Select]
pacman -Qi libreoffice-fresh
Name            : libreoffice-fresh
Version         : 7.6.4-2
Description     : LibreOffice branch which contains new features and program enhancements
Architecture    : x86_64
URL             : https://www.libreoffice.org/
Licenses        : LGPL3
Groups          : None
Provides        : libreoffice  libreoffice-en-US
Depends On      : curl>=7.20.0  hunspell>=1.2.8  python  libwpd>=0.9.2  libwps  neon>=0.28.6  pango  nspr  libjpeg  libxrandr  libgl  redland  hyphen  lpsolve  gcc-libs  sh
                  graphite  icu  libxslt  lcms2  poppler>=0.24.0  libvisio  libetonyek  libodfgen  libcdr  libmspub  harfbuzz-icu  nss  clucene  hicolor-icon-theme
                  desktop-file-utils  shared-mime-info  libpagemaker  libxinerama  libabw  libmwaw  libe-book  libcups  liblangtag  libexttextcat  liborcus  libwebp  libcmis
                  libtommath  libzmf  libatomic_ops  xmlsec  libnumbertext  gpgme  libfreehand  libstaroffice  libepubgen  libqxp  libepoxy  box2d  zxing-cpp  xdg-utils
                  libldap  fontconfig  zlib  libpng  freetype2  raptor  libxml2  cairo  libx11  expat  glib2  boost-libs  libtiff  dbus  glibc  librevenge  libxext
                  openjpeg2
Optional Deps   : java-runtime: adds java support
                  java-environment: required by extension-wiki-publisher and extension-nlpsolver
                  pstoedit: translates PostScript and PDF graphics into other vector formats
                  libmythes: for use in thesaurus
                  beanshell: interactive java -- good for prototyping/macros
                  libwpg: library for importing and converting WordPerfect Graphics format [installed]
                  sane: for scanner access [installed]
                  unixodbc: adds ODBC database support [installed]
                  gst-plugins-base-libs: for multimedia content, e.g. in Impress [installed]
                  libpaper: takes care of papersize [installed]
                  postgresql-libs: for postgresql-connector
                  mariadb-libs: for mysql-connector
                  coin-or-mp: required by the Calc solver
                  gtk3: for GTK3 integration [installed]
                  gtk4: for GTK4 integration (experimental) [installed]
                  kio5: for KF5 KDE desktop integration [installed]
                  qt6-base: for Qt6 desktop integration [installed]
Required By     : None
Optional For    : None
Conflicts With  : libreoffice-still
Replaces        : None
Installed Size  : 432.08 MiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Thu 14 Dec 2023 15:49:20 GMT
Install Date    : Sat 23 Dec 2023 02:34:47 GMT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
Working here.

Re: ICU74 and Libreoffice

Reply #2
#gripped, pacman -Qi I've the same result, but ldd is different:
Quote
$ ldd /usr/lib/libreoffice/program/soffice.bin |grep icu
        libicuuc.so.74 => /usr/lib/libicuuc.so.74 (0x00007f7cac400000)
        libicudata.so.74 => /usr/lib/libicudata.so.74 (0x00007f7ca6c00000)
        libicui18n.so.74 => /usr/lib/libicui18n.so.74 (0x00007f7ca6000000)
        libharfbuzz-icu.so.0 => /usr/lib/libharfbuzz-icu.so.0 (0x00007f7cab79a000)
        libicudata.so.73 => not found
        libicui18n.so.73 => not found
        libicuuc.so.73 => not found

and libreoffice-fresh don't start cause she need icu 73. Strange...

Re: ICU74 and Libreoffice

Reply #3
That is strange?
Try reinstalling libreoffice-fresh and make sure it's the Artix version you install

Re: ICU74 and Libreoffice

Reply #4
the libreoffice-fresh installed is the artix version in galaxy.

Reinstalled anyway but is always the same: don't start cause need icu 73 not icu 74

Re: ICU74 and Libreoffice

Reply #5
Your output showed soffice.bin linked to 74 AND 73.
Not 73 instead of 74.
I just downloaded libreoffice-fresh from an Artix mirror extracted it and soffice.bin only links to 74
Code: [Select]
~/Files/Downloads/libreoffice-fresh-7.6.4-2-x86_64.pkg/usr/lib/libreoffice/program                                                                 10:34:08
❯ ldd soffice.bin |grep icu
        libicuuc.so.74 => /usr/lib/libicuuc.so.74 (0x00007fcec2600000)
        libicudata.so.74 => /usr/lib/libicudata.so.74 (0x00007fcebce00000)
        libicui18n.so.74 => /usr/lib/libicui18n.so.74 (0x00007fcebc200000)
        libharfbuzz-icu.so.0 => /usr/lib/libharfbuzz-icu.so.0 (0x00007fcec1207000)
Sorry I don't know what's going on with your install but if anything comes to me I'll be back.

Re: ICU74 and Libreoffice

Reply #6
The question is that... I don't know what to do, yet :-) During the installation there was nothing strange. I can try to downgrade libreoffice,  but surely the previous version want icu 73 and don't work with  icu 74

I can also try to remove libreoffice and reinstall, but I think that I'll have to delete also all the configuration files of libreoffice; a boring work... ahahahahah

I'll report what will happen.

Re: ICU74 and Libreoffice

Reply #7
I removed libreoffice-fresh, deleted all the files in .config,; removed the libreoffice-fresh files in /var/cache/pacman/pkg to force a download of the version and nothing change: always the same error.

I don't want to contaminate the lib are forcing icu 73; any idea?

Thank you

PS: in my opinion the libreoffice-fresh must be recompiled verifying the link...


Re: ICU74 and Libreoffice

Reply #9
Artist,
done but nothing change. I did i after deleting my copy of libreoffice-fresh in /var/cache/pacman/pkg.
Installation without any problem, but the same problem.
I tried also with dotsrc.org, as mirrors, but the error is always the same.

Re: ICU74 and Libreoffice

Reply #10
What is the output of:
 ls -l /usr/lib/libreoffice/program/soffice.bin
 md5sum /usr/lib/libreoffice/program/soffice.bin

artist

Re: ICU74 and Libreoffice

Reply #11
Artist, the result:
Quote
$  ls -l /usr/lib/libreoffice/program/soffice.bin
-rwxr-xr-x 1 root root 14176 14 dic 16.49 /usr/lib/libreoffice/program/soffice.bin

Quote
$  md5sum /usr/lib/libreoffice/program/soffice.bin
e194a6d196ddc91d7c2c3daa6a3dfb8b  /usr/lib/libreoffice/program/soffice.bin

Re: ICU74 and Libreoffice

Reply #12
That output shows the file is correct.
What is the output of:
  ls -l /usr/lib/lib*icu*

artist

Re: ICU74 and Libreoffice

Reply #13
Artist, the output:

Quote
$  ls -l /usr/lib/lib*icu*
lrwxrwxrwx 1 root root       20 11 dic 17.10 /usr/lib/libharfbuzz-icu.so -> libharfbuzz-icu.so.0
lrwxrwxrwx 1 root root       28 11 dic 17.10 /usr/lib/libharfbuzz-icu.so.0 -> libharfbuzz-icu.so.0.60830.0
-rwxr-xr-x 1 root root    14016 11 dic 17.10 /usr/lib/libharfbuzz-icu.so.0.60830.0
lrwxrwxrwx 1 root root       18 18 dic 17.05 /usr/lib/libicudata.so -> libicudata.so.74.2
lrwxrwxrwx 1 root root       18 18 dic 17.05 /usr/lib/libicudata.so.74 -> libicudata.so.74.2
-rwxr-xr-x 1 root root 30790376 18 dic 17.05 /usr/lib/libicudata.so.74.2
lrwxrwxrwx 1 root root       18 18 dic 17.05 /usr/lib/libicui18n.so -> libicui18n.so.74.2
lrwxrwxrwx 1 root root       18 18 dic 17.05 /usr/lib/libicui18n.so.74 -> libicui18n.so.74.2
-rwxr-xr-x 1 root root  3438608 18 dic 17.05 /usr/lib/libicui18n.so.74.2
lrwxrwxrwx 1 root root       16 18 dic 17.05 /usr/lib/libicuio.so -> libicuio.so.74.2
lrwxrwxrwx 1 root root       16 18 dic 17.05 /usr/lib/libicuio.so.74 -> libicuio.so.74.2
-rwxr-xr-x 1 root root    55152 18 dic 17.05 /usr/lib/libicuio.so.74.2
lrwxrwxrwx 1 root root       18 18 dic 17.05 /usr/lib/libicutest.so -> libicutest.so.74.2
lrwxrwxrwx 1 root root       18 18 dic 17.05 /usr/lib/libicutest.so.74 -> libicutest.so.74.2
-rwxr-xr-x 1 root root    81112 18 dic 17.05 /usr/lib/libicutest.so.74.2
lrwxrwxrwx 1 root root       16 18 dic 17.05 /usr/lib/libicutu.so -> libicutu.so.74.2
lrwxrwxrwx 1 root root       16 18 dic 17.05 /usr/lib/libicutu.so.74 -> libicutu.so.74.2
-rwxr-xr-x 1 root root   219816 18 dic 17.05 /usr/lib/libicutu.so.74.2
lrwxrwxrwx 1 root root       16 18 dic 17.05 /usr/lib/libicuuc.so -> libicuuc.so.74.2
lrwxrwxrwx 1 root root       16 18 dic 17.05 /usr/lib/libicuuc.so.74 -> libicuuc.so.74.2
-rwxr-xr-x 1 root root  2144120 18 dic 17.05 /usr/lib/libicuuc.so.74.2

Re: ICU74 and Libreoffice

Reply #14
Somehow the previous libraries are referrenced.
What is the output of:
  find /usr/lib -name 'lib*icu*.so.73'
  ldd -r -v -d /usr/lib/libreoffice/program/soffice.bin|grep icu

artist