OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Issues with installing under all GNU/Linux Distributions
Post Reply
vijayvb.3108
Posts: 12
Joined: Wed Jan 23, 2019 11:24 am

OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Post by vijayvb.3108 »

root@Elado-Linux:~# cd /opt/openoffice4/program
root@Elado-Linux:/opt/openoffice4/program# ./soffice.bin
Segmentation fault (core dumped)

root@Elado-Linux:/opt/openoffice4/program# ldd -v /opt/openoffice4/program/libvclplug_gtk.so | grep "not found"
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found

These libraries are not installed. how to install the above libraries.

How to fix segmentation fault and how to open office 4.1.6 in Ubuntu 18.10 .
Open Office 4.1.6
Operating System is ubuntu 18.10
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by RoryOF »

Running OK for me on Xubuntu 18.04.1; I have gnome installed, also libgtk2 and libgtk3.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
vijayvb.3108
Posts: 12
Joined: Wed Jan 23, 2019 11:24 am

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by vijayvb.3108 »

Do you know how to install libraries for libgtk-x11-2.0.so.0 and libgdk-x11-2.0.so.0 .
If you know please tell me.
Open Office 4.1.6
Operating System is ubuntu 18.10
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by RoryOF »

I normally install Synaptic, then using it install gnome and gtk. But be aware, these may break your system - do a little googling on libgtk and ubuntu to find out what to do.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
robleyd
Moderator
Posts: 5055
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by robleyd »

1) Don't run it as root
2)The correct file to run is soffice

Try that and see what happens.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.1.2; SlackBuild for 24.2.1 by Eric Hameleers
vijayvb.3108
Posts: 12
Joined: Wed Jan 23, 2019 11:24 am

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by vijayvb.3108 »

If i run soffice as below
root@Elado-Linux:/opt/openoffice4/program#./soffice
root@Elado-Linux:/opt/openoffice4/program#

It is not opening
Open Office 4.1.6
Operating System is ubuntu 18.10
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by RoryOF »

You are still running as root.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
vijayvb.3108
Posts: 12
Joined: Wed Jan 23, 2019 11:24 am

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by vijayvb.3108 »

Sorry now i did not run in root. But still it is not opening.

elado@Elado-Linux:~$ cd /opt/openoffice4/program/
elado@Elado-Linux:/opt/openoffice4/program$ ./soffice
elado@Elado-Linux:/opt/openoffice4/program$
Open Office 4.1.6
Operating System is ubuntu 18.10
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by RoryOF »

in a terminal, run "openoffice4" (no quotes, case as I have entered) and report error messages.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
vijayvb.3108
Posts: 12
Joined: Wed Jan 23, 2019 11:24 am

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by vijayvb.3108 »

elado@Elado-Linux:~$ openoffice4
elado@Elado-Linux:~$

I ran as above.
Still it is not opening.
Open Office 4.1.6
Operating System is ubuntu 18.10
User avatar
robleyd
Moderator
Posts: 5055
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by robleyd »

How did you install Apache OpenOffice?
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.1.2; SlackBuild for 24.2.1 by Eric Hameleers
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by Villeroy »

What's wrong with LibreOffice? it is already installed on your computer and it is the new OpenOffice.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by Bill »

vijayvb.3108 wrote:root@Elado-Linux:/opt/openoffice4/program# ldd -v /opt/openoffice4/program/libvclplug_gtk.so | grep "not found"
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found

These libraries are not installed. how to install the above libraries.
I tried the ldd command on Ubuntu Mate 18.10 and Ubuntu 18.10. The libraries were not missing in either distro. Google searching leads me to believe that they should be in the libgtk2 package. Has that package been removed from your system?
AOO 4.1.14 on Ubuntu MATE 22.04
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Post by RoryOF »

As a guess - are you using the X11 windows system?
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
vijayvb.3108
Posts: 12
Joined: Wed Jan 23, 2019 11:24 am

Re: OpunOffice 4.1.6 fails to open on Ubuntu 18.10

Post by vijayvb.3108 »

Previously I had installed Ubuntu 18.10 Beta version which was not supporting open office.
Now i installed Ubuntu 18.04 LTS. Now open office is opened.
./soffice successfully opens.
Open Office 4.1.6
Operating System is ubuntu 18.10
vijayvb.3108
Posts: 12
Joined: Wed Jan 23, 2019 11:24 am

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Post by vijayvb.3108 »

open office is opening and also getting following java error even after installing java.
root@elado-Inspiron-N5110:/opt/openoffice4/program# ./soffice
javaldx: Could not find a Java Runtime Environment!
Open Office 4.1.6
Operating System is ubuntu 18.10
vijayvb.3108
Posts: 12
Joined: Wed Jan 23, 2019 11:24 am

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Post by vijayvb.3108 »

elado@elado-Inspiron-N5110:~$ sudo chown -R elado /home/elado/.openoffice
elado@elado-Inspiron-N5110:~$ openoffice4
javaldx: Could not find a Java Runtime Environment!

** (soffice:30931): WARNING **: 15:55:13.350: Unknown type: GailWindow
elado@elado-Inspiron-N5110:~$

Here openoffice4 is opening but giving Java Runtime Enviroment!
Open Office 4.1.6
Operating System is ubuntu 18.10
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Post by Bill »

AOO doesn't seem to recognize openjdk-11 which is installed by Ubuntu 18.10. If you need Java, install openjdk-8.
AOO 4.1.14 on Ubuntu MATE 22.04
jrkrideau
Volunteer
Posts: 3816
Joined: Sun Dec 30, 2007 10:00 pm
Location: Kingston Ontario Canada

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Post by jrkrideau »

Do you have LibreOffice installed? I have found that LibreOffice and AOO do not play well together though I, at least, could get AOO to open. It just crashed all the time.

If LO is installed try:

Code: Select all

sudo apt purge libreoffice* 
and install OpenOffice 4.1.5.

Note: Getting rid of LO can be difficult. You may want to run the purge command more than once.
(Code from RoryOF)
LibreOffice 7.3.7. 2; Ubuntu 22.04
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Post by RoryOF »

If purging LibreOffice using code given above by jrkrideau, do not omit the final *
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
vijayvb.3108
Posts: 12
Joined: Wed Jan 23, 2019 11:24 am

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Post by vijayvb.3108 »

I tried the following below commands for installing openjdk-8 for ubuntu 18.04

sudo apt --fix-broken install
sudo apt install openjdk-8-jdk

Now openoffice is opening the following error "javaldx: Could not find a Java Runtime Environment!" .
Open Office 4.1.6
Operating System is ubuntu 18.10
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Post by RoryOF »

I have just checked on my computer running Xubuntu 18.04.1. I have openjdk-8-jre installed. It is my memory that I restarted the computer after installing Java, so that all applications could find it.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Post Reply