LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   LibreOffice in Slackware. (https://www.linuxquestions.org/questions/slackware-14/libreoffice-in-slackware-4175647812/)

keithpeter 02-08-2019 01:19 PM

Just to save anyone else some time, my attempt to use the binary from the LibreOffice Web site via rpm2tgz failed with...

Code:

bash-5.0$ /opt/libreoffice6.2/program/soffice
Warning: failed to read path from javaldx
/opt/libreoffice6.2/program/soffice.bin: symbol lookup error: /opt/libreoffice6.2/program/libvclplug_gtk3lo.so: undefined symbol: gdk_wayland_display_get_type

...unless I'm missing an easy workaround.

Like Kgha above I have OpenOffice installed from the rpms in the same way as my usual Office system. Compatibility with work and I know where the UI bugs are. I like to keep an eye on LibreOffice however as I admire their refactoring of a 20+ year old code base.

NakedRider 02-08-2019 01:51 PM

Can't make it work
 
Is anyone getting the download from their site to work?

I'm getting an error -
Quote:

/opt/libreoffice6.2/program/soffice.bin: symbol lookup error: /opt/libreoffice6.2/program/libvclplug_gtk3lo.so: undefined symbol: gdk_wayland_display_get_type
I made a mistake this morning and installed the rpms. But I later went back and did the rpm2tgz and then installed the tgz packages with installpkg. Do you think it is something related to having installed the rpms first? I have since removed the rpms.

Oops. Just noticed the post above. Looks like this is a problem with their install.

I tried 6.15 and it's working fine. I'll stay there for now until this gets sorted out.

bathory 02-08-2019 03:04 PM

Quote:

Originally Posted by keithpeter (Post 5959517)
Just to save anyone else some time, my attempt to use the binary from the LibreOffice Web site via rpm2tgz failed with...

Code:

bash-5.0$ /opt/libreoffice6.2/program/soffice
Warning: failed to read path from javaldx
/opt/libreoffice6.2/program/soffice.bin: symbol lookup error: /opt/libreoffice6.2/program/libvclplug_gtk3lo.so: undefined symbol: gdk_wayland_display_get_type

...unless I'm missing an easy workaround.

Like Kgha above I have OpenOffice installed from the rpms in the same way as my usual Office system. Compatibility with work and I know where the UI bugs are. I like to keep an eye on LibreOffice however as I admire their refactoring of a 20+ year old code base.

FYI the 32bit 6.2.0 binary works fine. Just the 64bit has the problem mentioned above.
I guess it's compiled against some wayland stuff.

willysr 02-08-2019 10:12 PM

See this commit

bathory 02-09-2019 02:45 AM

Quote:

Originally Posted by willysr (Post 5959644)
See this commit

So all we have to do is to set SAL_USE_VCLPLUGIN before running soffice:
Code:

export SAL_USE_VCLPLUGIN=gtk
Thanks for sharing thew solution

B.R.

willysr 02-09-2019 07:30 AM

it's now included in /etc/profile.d/libreoffice.sh

linus72 02-09-2019 07:49 AM

Why not just Google Docs? Nothing to download.

keithpeter 02-09-2019 10:39 AM

Quote:

Originally Posted by linus72 (Post 5959751)
Why not just Google Docs? Nothing to download.

A look at a sample of the kind of stuff I do (pdf) might answer your perfectly reasonable question.

Thanks very much to willysr for the variable to set and for showing us how to set the variable in /etc/profile.d

sombragris 02-09-2019 12:40 PM

Quote:

Originally Posted by linus72 (Post 5959751)
Why not just Google Docs? Nothing to download.

Why Google Docs? With a desktop app there's no Internet connection required, and that's a huge advantage wherever connectivity is spotty or inexistent.

phalange 02-09-2019 12:45 PM

Quote:

Originally Posted by keithpeter (Post 5959812)

That's nice work. All libre?

keithpeter 02-09-2019 01:21 PM

Quote:

Originally Posted by phalange (Post 5959854)
That's nice work. All libre?

Yes, all OpenOffice 4.1.x and LibreOffice whatever I get from the rpms. Round trip editing at work (Windows 10 for Education with OpenOffice installed alongside MS Office 2013), and between my Slackware laptop and desktop at home.

I've been using OpenOffice (and Libre) since the v1 days so I have basically got used to it and its quirks, and I particularly like the maths formula editor, which uses an eqn like code. I don't process data of any size and I don't need advanced layout functions. I also don't need to exchange files with MS Office people that often. So my 'use case' is nice and simple.

I did try Calligra's Words, but not compatible for graphics objects with oOo/LO so not usable for me.

NakedRider 02-09-2019 02:51 PM

Quote:

Originally Posted by bathory (Post 5959683)
So all we have to do is to set SAL_USE_VCLPLUGIN before running soffice:
Code:

export SAL_USE_VCLPLUGIN=gtk
Thanks for sharing thew solution

B.R.

Did this work for you? I'm still having the same problem.

bathory 02-09-2019 04:03 PM

Quote:

Originally Posted by NakedRider (Post 5959904)
Did this work for you? I'm still having the same problem.

Of course.
I put it in ~/.bash_profile, so it's set when I log in.

NakedRider 02-09-2019 04:49 PM

Quote:

Originally Posted by bathory (Post 5959929)
Of course.
I put it in ~/.bash_profile, so it's set when I log in.

I just got it to work. I did as you did and added it to ~/.bash_profile.

ttk 02-09-2019 08:40 PM

Quote:

Originally Posted by linus72 (Post 5959751)
Why not just Google Docs? Nothing to download.

For documents I don't mind Google having access to, which I don't need to edit on my actual physical system, that's fine.

For documents I'd rather keep private, and for documents I'd like to edit without a network connection (I frequently do personal work on my laptop from a diner), having applications actually on my system are a must.

jove is my every-day editor, xfig and inkscape for drawing diagrams, sel and perl for processing structured data, and LibreOffice for the fancier stuff (even though I'm usually just using it to convert spreadsheets to .csv, or word files to .pdf).

These all work fine on Slackware.


All times are GMT -5. The time now is 05:59 AM.