After installing Libreoffice24_02 on AlmaLinux 9 the program does not run because of a problem with a missing version information: libreoffice24.2 /opt/libreoffice24.2/program/soffice.bin: /usr/lib64/libxml2.so.2: version `LIBXML2_GLOBAL_VARIABLES' not found (required by /opt/libreoffice24.2/program/libmergedlo.so) /opt/libreoffice24.2/program/soffice.bin: /usr/lib64/libxml2.so.2: version `LIBXML2_GLOBAL_VARIABLES' not found (required by /opt/libreoffice24.2/program/libraptor2-lo.so.0) My OS is AlmaLinux 9.3: uname -a Linux nbstroili 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64 x86_64 x86_64 GNU/Linux and I have installed the following version of libxml2: dnf list installed "*xml2*" Installed Packages libxml2.x86_64 2.9.13-5.el9_3 @baseos libxml2-devel.x86_64 2.9.13-5.el9_3 @appstream mingw64-libxml2.noarch 2.9.14-1.el9 @epel python3-libxml2.x86_64 2.9.13-5.el9_3 @baseos Best regards Roberto
iirc LIBXML2_GLOBAL_VARIABLES is something i added to the bundled libxml2 to appease Solaris ld some 15 years ago... but TDF releases should use the system libxml2 on Linux, so it should never use that patched map file and it's entirely unclear how it can have this dependency?
the same problem happens on CentOS 7 (Linux pclab3.pd.infn.it 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux)
Tried release 24.2.1.1, still the same problem....
To make sure: are you taking about TDF provided builds? If so, those do ship libxml2 and both soffice.bin as well as libraptor individually are supposed to be using that version: $ ldd /opt/libreoffice24.2/program/soffice.bin |grep xml2 libxml2.so.2 => /opt/libreoffice24.2/program/libxml2.so.2 (0x00007f96440a5000) $ ldd /opt/libreoffice24.2/program/libraptor2-lo.so.0 |grep xml2 libxml2.so.2 => /opt/libreoffice24.2/program/libxml2.so.2 (0x00007fb4ab1f1000) it's provided in the libreoffice24.2-ure rpm that in turn is required by the libobasis24.2-core one. So what's the output of rpm -V libreoffice24.2-ure libobasis24.2-core do you have libxml2.so.2 in LO's program directory?
I have libxml2-devel installed and this clashes with LibreOffice one: ➤ ldd /opt/libreoffice24.2/program/soffice.bin |grep xml2 /opt/libreoffice24.2/program/soffice.bin: /usr/lib64/libxml2.so.2: version `LIBXML2_GLOBAL_VARIABLES' not found (required by /opt/libreoffice24.2/program/libmergedlo.so) /opt/libreoffice24.2/program/soffice.bin: /usr/lib64/libxml2.so.2: version `LIBXML2_GLOBAL_VARIABLES' not found (required by /opt/libreoffice24.2/program/libraptor2-lo.so.0) libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f2e37a77000) ➤ rpm -V libreoffice24.2-ure libobasis24.2-core no output and yes, libxml2.so is present in LibreOffice directory
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6f6364e572a0570fb097fec098314bffadc5b474 tdf#159502 remove --without-system-libxml from LibreOfficeLinux.conf It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/eebdda4e221327cae5a9177893394819ca510d5f tdf#159502 libxml2: apply Solaris ld patch only on Solaris It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
well there i was thinking that we have not shipped libxml2.so.2 with LibreOffice on Linux for the last 10 years but i was completely wrong because i didn't look at distro-configs/LibreOfficeLinux.conf hope it should be fixed on master
*** Bug 159784 has been marked as a duplicate of this bug. ***
I downloaded LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_deb.tar.gz and installed it. I then moved it to /opt/libreoffice/libreoffice24.8, and tried running: % /opt/libreoffice/libreoffice24.8/program/scalc /local/opt/libreoffice/libreoffice24.8/program/soffice.bin: /lib/x86_64-linux-gnu/libxml2.so.2: version `LIBXML2_GLOBAL_VARIABLES' not found (required by /opt/libreoffice/current/program/libmergedlo.so) /local/opt/libreoffice/libreoffice24.8/program/soffice.bin: /lib/x86_64-linux-gnu/libxml2.so.2: version `LIBXML2_GLOBAL_VARIABLES' not found (required by /opt/libreoffice/current/program/libraptor2-lo.so.0)
Revision... I fixed LD_LIBRARY_PATH so it includes /opt/libreoffice24.2/program/ and now it works! Yay!
Success was premature... When I run scalc or swriter, I get: The application cannot be started. The component manager is not available. ("Cannot open uno ini file:///lib/x86_64-linux-gnu/unorc at ./cppuhelper/source/defaultbootstrap.cxx:53") warn:desktop:228335:228335:/home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/desktop/source/app/crashreport.cxx:61: minidump generated: /tmp/91944bee-e432-41d9-664d3ba0-374c3ed7.dmp I have no idea what /home/tdf is. It's not on my system. I moved ~/.config/libreoffice to a backup folder. If I unsetenv LD_LIBRARY_PATH, it gets a bit better. scalc opens, but the following errors appear in the Console: % scalc warn:unotools.misc:229483:229483:unotools/source/misc/mediadescriptor.cxx:372: url: 'private:factory/scalc' com.sun.star.ucb.ContentCreationException message: "No Content Provider available for URL: private:factory/scalc at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/ucbhelper/source/client/content.cxx:208" eError: (com.sun.star.ucb.ContentCreationError) NO_CONTENT_PROVIDER warn:vcl.builder:229483:229483:vcl/source/window/builder.cxx:3496: probably need to implement NotebookBarAddonsMenuMergePoint warn:vcl:229483:229483:vcl/source/image/ImplImage.cxx:93: Failed to load scaled image from cmd/sc_insertsparkline.png at 1 warn:vcl:229483:229483:vcl/source/image/ImplImage.cxx:117: Failed to load stock icon cmd/sc_insertsparkline.png warn:vcl:229483:229483:vcl/source/window/builder.cxx:3664: priority set for not supported item warn:vcl.builder:229483:229483:vcl/source/window/builder.cxx:3858: unknown packing: tab-fill warn:vcl.schedule:229483:229483:vcl/source/app/scheduler.cxx:610: Stop the task before changing the priority, as it will just change after the task was scheduled with the old prio!
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/7f939fee0ee20a63272267fbf6cecdb034e1bbd6 tdf#159502 libxml2: apply Solaris ld patch only on Solaris It will be available in 24.2.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/1f8e5f673f7dd0cd531b3fb0a5cb5a7d2535b36f tdf#159502 libxml2: apply Solaris ld patch only on Solaris It will be available in 7.6.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/b20f17ce082f30b0a2afd0d311f63f6b2ad8a99a tdf#159502 remove --without-system-libxml from LibreOfficeLinux.conf It will be available in 24.2.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
(In reply to Steve Kelem from comment #12) > Success was premature... > > When I run scalc or swriter, I get: > The application cannot be started. > The component manager is not available. > ("Cannot open uno ini file:///lib/x86_64-linux-gnu/unorc at > ./cppuhelper/source/defaultbootstrap.cxx:53") > warn:desktop:228335:228335:/home/tdf/lode/jenkins/workspace/lo_gerrit/tb/ > src_master/desktop/source/app/crashreport.cxx:61: minidump generated: > /tmp/91944bee-e432-41d9-664d3ba0-374c3ed7.dmp > > I have no idea what /home/tdf is. It's not on my system. > > I moved ~/.config/libreoffice to a backup folder. > > If I unsetenv LD_LIBRARY_PATH, it gets a bit better. scalc opens, but the > following errors appear in the Console: > % scalc > warn:unotools.misc:229483:229483:unotools/source/misc/mediadescriptor.cxx: > 372: url: 'private:factory/scalc' com.sun.star.ucb.ContentCreationException > message: "No Content Provider available for URL: private:factory/scalc at > /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/ucbhelper/source/ > client/content.cxx:208" eError: (com.sun.star.ucb.ContentCreationError) > NO_CONTENT_PROVIDER > warn:vcl.builder:229483:229483:vcl/source/window/builder.cxx:3496: probably > need to implement NotebookBarAddonsMenuMergePoint > warn:vcl:229483:229483:vcl/source/image/ImplImage.cxx:93: Failed to load > scaled image from cmd/sc_insertsparkline.png at 1 > warn:vcl:229483:229483:vcl/source/image/ImplImage.cxx:117: Failed to load > stock icon cmd/sc_insertsparkline.png > warn:vcl:229483:229483:vcl/source/window/builder.cxx:3664: priority set for > not supported item > warn:vcl.builder:229483:229483:vcl/source/window/builder.cxx:3858: unknown > packing: tab-fill > warn:vcl.schedule:229483:229483:vcl/source/app/scheduler.cxx:610: Stop the > task before changing the priority, as it will just change after the task was > scheduled with the old prio! Note that warnings are not errors.
(In reply to Commit Notification from comment #15) > Michael Stahl committed a patch related to this issue. > It has been pushed to "libreoffice-24-2": > > https://git.libreoffice.org/core/commit/ https://geometry-dash-online.com > b20f17ce082f30b0a2afd0d311f63f6b2ad8a99a > > tdf#159502 remove --without-system-libxml from LibreOfficeLinux.conf > > It will be available in 24.2.2. > > The patch should be included in the daily builds available at > https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More > information about daily builds can be found at: > https://wiki.documentfoundation.org/Testing_Daily_Builds > > Affected users are encouraged to test the fix and report feedback. Thanks for the answer.
(In reply to Commit Notification from comment #15) > Michael Stahl committed a patch related to this issue. > It has been pushed to "libreoffice-24-2": > > https://git.libreoffice.org/core/commit/ > b20f17ce082f30b0a2afd0d311f63f6b2ad8a99a > > tdf#159502 remove --without-system-libxml from LibreOfficeLinux.conf > > It will be available in 24.2.2. > > The patch should be included in the daily builds available at > https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More > information about daily builds can be found at: > https://wiki.documentfoundation.org/Testing_Daily_Builds > > Affected users are encouraged to test the fix and report feedback. I don't see the problem any longer. Thanks Roberto
(In reply to roberto.stroili from comment #0) > After installing Libreoffice24_02 on AlmaLinux 9 the program does not run > because of a problem with a missing version information: > > libreoffice24.2 > /opt/libreoffice24.2/program/soffice.bin: /usr/lib64/libxml2.so.2: version > `LIBXML2_GLOBAL_VARIABLES' not found (required by > /opt/libreoffice24.2/program/libmergedlo.so) > /opt/libreoffice24.2/program/soffice.bin: /usr/lib64/libxml2.so.2: version > `LIBXML2_GLOBAL_VARIABLES' not found (required by > /opt/libreoffice24.2/program/libraptor2-lo.so.0) > > > My OS is AlmaLinux 9.3: > > uname -a > Linux nbstroili 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan > 29 07:05:48 EST 2024 x86_64 x86_64 x86_64 GNU/Linux > > and I have installed the following version of libxml2: > > dnf list installed "*xml2*" > Installed Packages > libxml2.x86_64 2.9.13-5.el9_3 > @baseos > libxml2-devel.x86_64 2.9.13-5.el9_3 > @appstream > mingw64-libxml2.noarch 2.9.14-1.el9 @epel > > python3-libxml2.x86_64 2.9.13-5.el9_3 > @baseos > > Best regards > > Roberto (In reply to roberto.stroili from comment #18) > (In reply to Commit Notification from comment #15) > > Michael Stahl committed a patch related to this issue. > > It has been pushed to "libreoffice-24-2": > > > > https://git.libreoffice.org/core/commit/ > > b20f17ce082f30b0a2afd0d311f63f6b2ad8a99a > > > > tdf#159502 remove --without-system-libxml from LibreOfficeLinux.conf > > > > It will be available in 24.2.2. > > > > The patch should be included in the daily builds available at > > https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More > > information about daily builds can be found at: > > https://wiki.documentfoundation.org/Testing_Daily_Builds/https://bobtherobber.io > > > > Affected users are encouraged to test the fix and report feedback. > > I don't see the problem any longer. > Thanks > > Roberto l problems have been resolved
(In reply to roberto.stroili from comment #0) > After installing Libreoffice24_02 on AlmaLinux 9 the program does not run > because of a problem with a missing version information: > > libreoffice24.2 > /opt/libreoffice24.2/program/soffice.bin: /usr/lib64/libxml2.so.2: version > `LIBXML2_GLOBAL_VARIABLES' not found (required by > /opt/libreoffice24.2/program/libmergedlo.so) > /opt/libreoffice24.2/program/soffice.bin: /usr/lib64/libxml2.so.2: version > `LIBXML2_GLOBAL_VARIABLES' not found (required by > /opt/libreoffice24.2/program/libraptor2-lo.so.0) > > > My OS is AlmaLinux 9.3: > > uname -a > Linux nbstroili 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan > 29 07:05:48 EST 2024 x86_64 x86_64 x86_64 GNU/Linux > > and I have installed the following version of libxml2: > > dnf list installed "*xml2*" > Installed Packages > libxml2.x86_64 2.9.13-5.el9_3 > @baseos > libxml2-devel.x86_64 2.9.13-5.el9_3 > @appstream > mingw64-libxml2.noarch 2.9.14-1.el9 @epel > > python3-libxml2.x86_64 2.9.13-5.el9_3 > @baseos > > Best regards > > Roberto (In reply to roberto.stroili from comment #18) > (In reply to Commit Notification from comment #15) > > Michael Stahl committed a patch related to this issue. > > It has been pushed to "libreoffice-24-2": > > > > https://git.libreoffice.org/core/commit/ > > b20f17ce082f30b0a2afd0d311f63f6b2ad8a99a > > > > tdf#159502 remove --without-system-libxml from LibreOfficeLinux.conf > > > > It will be available in 24.2.2. > > > > The patch should be included in the daily builds available at > > https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More > > information about daily builds can be found at: > > https://wiki.documentfoundation.org/Testing_Daily_Builds https://bobtherobber.io > > > > Affected users are encouraged to test the fix and report feedback. > > I don't see the problem any longer. > Thanks > > Roberto l problems have been resolved
(In reply to Commit Notification from comment #6) > Michael Stahl committed a patch related to this issue. > It has been pushed to "master": > > https://git.libreoffice.org/core/commit/ https://fireboy-andwatergirl.io > 6f6364e572a0570fb097fec098314bffadc5b474 > > tdf#159502 remove --without-system-libxml from LibreOfficeLinux.conf > > It will be available in 24.8.0. > > The patch should be included in the daily builds available at > https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More > information about daily builds can be found at: > https://wiki.documentfoundation.org/Testing_Daily_Builds > > Affected users are encouraged to test the fix and report feedback. The error you're encountering seems to be related to an issue with the version of the libxml2 library on your AlmaLinux system, which LibreOffice is trying to use. Specifically, LibreOffice is looking for a version of libxml2 that has the LIBXML2_GLOBAL_VARIABLES symbol, which doesn't appear to be present in the version you have installed.