Page 1 of 1

OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 11:37 am
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 .

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 12:20 pm
by RoryOF
Running OK for me on Xubuntu 18.04.1; I have gnome installed, also libgtk2 and libgtk3.

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 12:23 pm
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.

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 12:35 pm
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.

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 12:36 pm
by robleyd
1) Don't run it as root
2)The correct file to run is soffice

Try that and see what happens.

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 12:41 pm
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

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 12:43 pm
by RoryOF
You are still running as root.

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 12:46 pm
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$

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 12:50 pm
by RoryOF
in a terminal, run "openoffice4" (no quotes, case as I have entered) and report error messages.

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 12:53 pm
by vijayvb.3108
elado@Elado-Linux:~$ openoffice4
elado@Elado-Linux:~$

I ran as above.
Still it is not opening.

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 1:05 pm
by robleyd
How did you install Apache OpenOffice?

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 3:35 pm
by Villeroy
What's wrong with LibreOffice? it is already installed on your computer and it is the new OpenOffice.

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 5:15 pm
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?

Re: Open Office 4.1.6 fail to open on Ubuntu 18.10

Posted: Wed Jan 23, 2019 5:53 pm
by RoryOF
As a guess - are you using the X11 windows system?

Re: OpunOffice 4.1.6 fails to open on Ubuntu 18.10

Posted: Mon Jan 28, 2019 12:02 pm
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.

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Posted: Mon Jan 28, 2019 12:05 pm
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!

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Posted: Mon Jan 28, 2019 12:27 pm
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!

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Posted: Mon Jan 28, 2019 10:11 pm
by Bill
AOO doesn't seem to recognize openjdk-11 which is installed by Ubuntu 18.10. If you need Java, install openjdk-8.

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Posted: Tue Jan 29, 2019 12:51 pm
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)

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Posted: Tue Jan 29, 2019 3:00 pm
by RoryOF
If purging LibreOffice using code given above by jrkrideau, do not omit the final *

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Posted: Thu Jan 31, 2019 7:59 am
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!" .

Re: OpenOffice 4.1.6 fails to open on Ubuntu 18.10

Posted: Thu Jan 31, 2019 10:38 am
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.