[Solved] OpenOffice 4.1.4 Fails to open on Fedora 27

Issues with installing under all Linux Distributions

[Solved] OpenOffice 4.1.4 Fails to open on Fedora 27

Postby jbkt23 » Tue Dec 26, 2017 7:30 pm

On a desktop computer upgraded to Fedora 27 a fresh install of Openoffice 4.1.4 64bit is not opening. I've tried both the free-desktop and redhat-desktop with the same results, the startup logo flashes onscreen briefly and then disappears.
I've reviewed / searched the posts in this forum and have found similar issues that indicate mixed libraries like glib and glibc, I don't believe that is the issue here. The reason being that I have compared the rpmpkg logs to a similar upgrade to F27 on a laptop where oo4.1.3 is running and opens with no problems and the Meld diff shows the same glib and glibc libraries and versions, also the same gtk libraries. Having reviewed the other posts I did a gdb backtrace on soffice.bin and that is attached for reference.

Installed Libraries
glib-1.2.10-50.fc27.x86_64.rpm
glib2-2.54.2-1.fc27.i686.rpm
glib2-2.54.2-1.fc27.x86_64.rpm
glibc-2.26-20.fc27.i686.rpm
glibc-2.26-20.fc27.x86_64.rpm
glibc-all-langpacks-2.26-20.fc27.x86_64.rpm
glibc-common-2.26-20.fc27.x86_64.rpm
glibc-devel-2.26-20.fc27.x86_64.rpm
glibc-headers-2.26-20.fc27.x86_64.rpm


Libreoffice has never been installed on these systems.

I don't see the gdb attachment in the preview, I may have 3 copies of same or none.
Last edited by Hagar Delest on Sat Jan 20, 2018 10:49 pm, edited 1 time in total.
Reason: tagged [Solved].
Openoffice 4.1 on Fedora 27 +
jbkt23
 
Posts: 6
Joined: Tue Dec 26, 2017 6:44 pm

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby RoryOF » Tue Dec 26, 2017 7:33 pm

Try typing openoffice4 in a terminal and see what diagnostics you get there.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28569
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby jbkt23 » Tue Dec 26, 2017 8:21 pm

Rory,

Here is the requested terminal command:

Code: Select all   Expand viewCollapse view
~]$ openoffice4
/opt/openoffice4/program/soffice: line 121:  1924 Segmentation fault      (core dumped) "$sd_prog/$sd_binary" "$@"

I've seen this same output in other help posts here and on other forums, the correct solution seemed situation dependent.

Here is gdb output:

Code: Select all   Expand viewCollapse view
program]# gdb soffice.bin
GNU gdb (GDB) Fedora 8.0.1-33.fc27
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from soffice.bin...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/openoffice4/program/soffice.bin
Missing separate debuginfos, use: dnf debuginfo-install openoffice-4.1.4-9788.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffeb93b700 (LWP 11284)]
Detaching after fork from child process 11296.
[New Thread 0x7fffdfe15700 (LWP 11326)]
[New Thread 0x7fffdf5c4700 (LWP 11327)]

Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0x00007ffff7de1e08 in _dl_relocate_object () from /lib64/ld-linux-x86-64.so.2
(gdb) backtrace
#0  0x00007ffff7de1e08 in _dl_relocate_object ()
    at /lib64/ld-linux-x86-64.so.2
#1  0x00007ffff7deac38 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff6682f2f in _dl_catch_error () at /lib64/libc.so.6
#3  0x00007ffff7dea289 in _dl_open () at /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff60edf96 in dlopen_doit () at /lib64/libdl.so.2
#5  0x00007ffff6682f2f in _dl_catch_error () at /lib64/libc.so.6
#6  0x00007ffff60ee715 in _dlerror_run () at /lib64/libdl.so.2
#7  0x00007ffff60ee021 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#8  0x00007ffff7a0aa2b in osl_loadModule ()
    at /opt/openoffice4/program/libuno_sal.so.3
#9  0x00007ffff592b825 in cppu::loadSharedLibComponentFactory(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey> const&) ()
    at /opt/openoffice4/program/libuno_cppuhelpergcc3.so.3
#10 0x00007fffe1d1331e in  () at /opt/openoffice4/program/bootstrap.uno.so
#11 0x00007ffff591a1d3 in  ()
    at /opt/openoffice4/program/libuno_cppuhelpergcc3.so.3
#12 0x00007ffff591ad2a in  ()
    at /opt/openoffice4/program/libuno_cppuhelpergcc3.so.3
#13 0x00007ffff591774a in  ()
    at /opt/openoffice4/program/libuno_cppuhelpergcc3.so.3
#14 0x00007ffff591796f in  ()
    at /opt/openoffice4/program/libuno_cppuhelpergcc3.so.3
#15 0x00007fffe1ce0a16 in  () at /opt/openoffice4/program/bootstrap.uno.so
#16 0x00007fffe1cd6e0c in  () at /opt/openoffice4/program/bootstrap.uno.so
#17 0x00007ffff3233838 in  () at /opt/openoffice4/program/libutl.so
#18 0x00007ffff32388ec in SvtPathOptions::SvtPathOptions() ()
    at /opt/openoffice4/program/libutl.so
#19 0x00007ffff7784a6a in  () at /opt/openoffice4/program/libsofficeapp.so
#20 0x00007ffff7786c58 in  () at /opt/openoffice4/program/libsofficeapp.so
#21 0x00007ffff7778400 in  () at /opt/openoffice4/program/libsofficeapp.so
#22 0x00007ffff2bb17eb in  () at /opt/openoffice4/program/libvcl.so
#23 0x00007ffff2bb18b6 in SVMain() () at /opt/openoffice4/program/libvcl.so
#24 0x00007ffff77a0fbc in soffice_main ()
    at /opt/openoffice4/program/libsofficeapp.so
#25 0x0000000000400f7b in main ()
(gdb) list
No symbol table is loaded.  Use the "file" command.
(gdb) quit

There is also a core dump file that I can run strings on and grep for specific pointers if that would be helpful.

Jim
Openoffice 4.1 on Fedora 27 +
jbkt23
 
Posts: 6
Joined: Tue Dec 26, 2017 6:44 pm

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby gsperry » Tue Dec 26, 2017 11:36 pm

I am experiencing this exact same behavior.
OpenOffice 4.1.4 on Fedora 27
gsperry
 
Posts: 3
Joined: Tue Dec 26, 2017 11:34 pm

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby John_Ha » Thu Dec 28, 2017 7:11 pm

I am guessing but " This GDB was configured as "x86_64-redhat-linux-gnu". " seems a bit strange to me. In Windows, x86 is (up to?) 32 bit; and 64 is 64 bit; so this suggests a 32/64 bit mismatch.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6578
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby RoryOF » Thu Dec 28, 2017 7:27 pm

On linux there are both 32 and 64 bit versions of OpenOffice. It may be worth checking that all traces of LibreOffice (supplied in the Fedora distro?) are removed before installing OpenOffice. In Xubuntu/Ubuntu, to do this I use a terminal and
Code: Select all   Expand viewCollapse view
sudo apt purge libreoffice*


The trailing * is important. I cannot say what the correct syntax is for Fedora as I don't use it, but there should be an equivalent command.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28569
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby Bill » Thu Dec 28, 2017 7:28 pm

X86 denotes 32-bit and x86_64 or AMD64 denote 64-bit.
AOO 4.1.6 and LO 6.2.0.3 on Manjaro MATE
Bill
Volunteer
 
Posts: 7170
Joined: Sat Nov 24, 2007 6:48 am

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby jbkt23 » Thu Dec 28, 2017 9:00 pm

Thanks for your suggestions. I have the following comments and historical background.

In redhat terminology x86 indicates consumer PC architecture as apposed to mainframes or 'arm' cell phone chipsets. 32 bit programs are suffixed with i686 and 64 bit programs are suffixed with x86_64. There are many 64 bit architectures.

I've never had LibreOffice. This PC has been running Fedora since release 18 it is now running release 27. I always make an rsync copy on a separate partition of the current release and then do a distro-sync upgrade to the latest release. That way I always have the running prior system to fall back to in the event of unsolvable problems. I haven't run in to any yet, this one included.

On my laptop I've also upgraded in a similar fashion, the last from release 25 to 27. There the running copy of AOO4.1.3 that was installed on 25 also works in release 27. So it is confirmed that AOO does work on Fedora 27.

Last night I removed AOO4.1.4 and installed version 4.1.3 with no luck on the subject PC. Tonight I'm going to check permissions and links to see if one is missing or it differs from the working system on my laptop.

I'll let you know what I find.
Openoffice 4.1 on Fedora 27 +
jbkt23
 
Posts: 6
Joined: Tue Dec 26, 2017 6:44 pm

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby RoryOF » Thu Dec 28, 2017 9:08 pm

jbkt23 wrote:I've never had LibreOffice. This PC has been running Fedora since release 18 it is now running release 27.


As far as I know LibreOffice is in the Fedora distro by default (certainly so in the Ubuntu and many other linux distros); you may not have installed it, but there could be default hooks for it. I doubt it will hurt to do the equivalent of purging libreoffice*. It may also be worth renaming your OO user profile.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28569
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby gsperry » Thu Dec 28, 2017 10:27 pm

My Fedora 27 install is fresh. I removed all LibreOffice packages prior to installation. I decided to wipe it and try again using the tutorial here:
https://www.if-not-true-then-false.com/2010/install-openoffice-org-on-fedora-centos-red-hat-rhel/

Specifically, this command seems like it would be pretty thorough.
Code: Select all   Expand viewCollapse view
dnf --setopt=clean_requirements_on_remove=false remove libreoffice\*

With this fresh install, I used 4.1.2. The results were the same as previously with 4.1.4.
OpenOffice 4.1.4 on Fedora 27
gsperry
 
Posts: 3
Joined: Tue Dec 26, 2017 11:34 pm

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby jbkt23 » Sat Dec 30, 2017 4:36 pm

gsperry,

Since you did a fresh install of F27, did you stick with the default wayland graphics?

Fedora 26 and later default to wayland if you use the gnome desktop. I use the mate desktop which defaults to the Xorg graphic drivers.

Do we know if AOO runs on wayland based systems?
Openoffice 4.1 on Fedora 27 +
jbkt23
 
Posts: 6
Joined: Tue Dec 26, 2017 6:44 pm

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby gsperry » Sat Dec 30, 2017 6:53 pm

I've read some posts about minor glitches in Wayland, but people seem to have it working. Just none confirmed on F27.

I get the same results under both Wayland and Xorg.
OpenOffice 4.1.4 on Fedora 27
gsperry
 
Posts: 3
Joined: Tue Dec 26, 2017 11:34 pm

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby jbkt23 » Sun Dec 31, 2017 11:49 pm

Thanks,

I tried 4.1.5 with the same results.
I think it's time to file a bug report. It may not get timely attention, but eventually attended to.

jim
Openoffice 4.1 on Fedora 27 +
jbkt23
 
Posts: 6
Joined: Tue Dec 26, 2017 6:44 pm

[Solved] Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby jbkt23 » Sat Jan 20, 2018 4:43 pm

I'm going senile.

Just by chance I was reviewing my subscribed threads on the Fedora forum and found that I had solved this very same issue when I upgraded to Fedora 25 a year ago.
Thread here:
https://forums.fedoraforum.org/showthre ... ade-to-F25

I had found this helpful hint in my search to solve this issue then:

Do you have gtk2 libraries installed?
Try the following on a terminal:

~]$ ldd -v /opt/openoffice4/program/libvclplug_gtk.so

In my system, this reports a missing library:

...
libgdk_pixbuf_xlib-2.0.so.0 => not found
...

Find the package which provides this library, and install it:

[root@localhost ~]# dnf whatprovides */libgdk_pixbuf_xlib-2.0.so.0
Last metadata expiration check: 19:02:19 ago on Sun Jul 24 18:10:21 2016.
gdk-pixbuf2-xlib-2.34.0-1.fc24.i686 : Additional library for using gdk-pixbuf with bare xlib
Repo : fedora

gdk-pixbuf2-xlib-2.34.0-1.fc24.x86_64 : Additional library for using gdk-pixbuf with bare xlib
Repo : fedora

[root@localhost ~]# dnf install gdk-pixbuf2-xlib

Do the same with every missing library. Then, export the following variables:

~]$ export SAL_USE_VCLPLUGIN="gtk"
~]$ export OOO_FORCE_DESKTOP="gnome"

Now run AOO on that terminal


The only thing different i did different from the quote above is add the pipe grep "not found" to the ldd command thus:
Code: Select all   Expand viewCollapse view
~]$ ldd -v /opt/openoffice4/program/libvclplug_gtk.so | grep "not found"

so that I got right to the point of what was missing.

So after following the procedures noted above AOO is working probably for all versions but 4.1.5 is what is installed currently for me.
Openoffice 4.1 on Fedora 27 +
jbkt23
 
Posts: 6
Joined: Tue Dec 26, 2017 6:44 pm

Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby Hagar Delest » Sat Jan 20, 2018 10:48 pm

Thanks for the follow-up!
AOO 4.1.6 on Xubuntu 18.10 and 4.1.5 on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28433
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] OpenOffice 4.1.4 Fails to open on Fedora 27

Postby RoryOF » Sat Jan 20, 2018 10:59 pm

A link to the posting containing the solution posted to the dev mailing list.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28569
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Re: OpenOffice 4.1.4 Fails to open on Fedora 27

Postby acknak » Sun Jan 21, 2018 12:02 am

jbkt23 wrote:... So after following the procedures noted above AOO is working probably for all versions but 4.1.5 is what is installed currently for me.

With these tweaks, does OO display the standard gtk UI on your system?

For me, the last few versions of OO have stopped working with the standard gtk UI elements, apparently reverting to an internal UI of some kind that is a serious nuisance to use. This is with an obsolete version of Fedora (23) which I'm about to upgrade but I'd like to hope that this awful UI will go away with the upgrade.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Solved OpenOffice 4.1.4 Fails to open on Fedora 27

Postby RickWagner » Fri Mar 16, 2018 9:36 pm

I had this same issue with OO4.1.5 on Fedora 27 x86_64 Astronomy Spin, KDE desktop. No LibreOffice, ever. The Fedora is a manual install over a failed dnf system-upgrade from 21, all partitions re-used and formatted except /home.
I tried following all the above as best I can but got no joy.
From jbkt23's gdb output I don't see how he decided that libgdk_pixbuf_xlib-2.0.so.0 was the problem.
In any case I tried installing the same library he did but without any beneficial results. What finally solved it for me was to manually download and rpm -Uvh gdk-pixbuf2-xlib-2.36.11-1.fc27.x86_64.rpm.
OpenOffice 4.1.5 on Fedora 27(KDE)/OpenOffice 4.1.5 on Windows 7
RickWagner
 
Posts: 1
Joined: Fri Mar 16, 2018 9:19 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests