LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-06-2014, 11:21 AM   #1
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Rep: Reputation: 114Reputation: 114
Talking Libreoffice 4.3.0/1alien


Slackware64 Current: Just upgraded libreoffice from 4.2.5/1alien to 4.3.0/1alien.

Just some nitpicks:
1) /usr/lib64/libreoffice/program contains libGLEW-so.1.10, but libGLEW.so.1.9 is sought for - copied it from the 14.1 x/glew package;
2) Required are lib{gtkpeer,jawt}.so from the d/gcc-java package, but to install a 25 MB package for just some 225 KB worth of libraries seems somewhat overdone - extracted the two libraries from the package therefore;
3) The caladeo font is not available;
4 Required is a wrapper for libreoffice to do an LD_LIBRARY_PATH=/usr/lib/libreoffice/program before invoking libreoffice. Alternatively one could amend /etc/ld.so.conf.

Libreoffice works like a charm.

Last edited by burdi01; 08-06-2014 at 11:49 AM.
 
Old 08-07-2014, 06:01 AM   #2
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211

Rep: Reputation: 57
Nice to know

On a side note, I've never understood what the LO devs meant by saying "advanced users" ?
 
Old 08-07-2014, 06:59 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
Quote:
Originally Posted by burdi01 View Post
Slackware64 Current: Just upgraded libreoffice from 4.2.5/1alien to 4.3.0/1alien.

Just some nitpicks:
1) /usr/lib64/libreoffice/program contains libGLEW-so.1.10, but libGLEW.so.1.9 is sought for - copied it from the 14.1 x/glew package;
2) Required are lib{gtkpeer,jawt}.so from the d/gcc-java package, but to install a 25 MB package for just some 225 KB worth of libraries seems somewhat overdone - extracted the two libraries from the package therefore;
3) The caladeo font is not available;
4 Required is a wrapper for libreoffice to do an LD_LIBRARY_PATH=/usr/lib/libreoffice/program before invoking libreoffice. Alternatively one could amend /etc/ld.so.conf.

Libreoffice works like a charm.
Hi burdi01

See also the discussion on http://alien.slackbook.org/blog/libr...-office-suite/ .

(1) This can be fixed as a quick workaround by: "ln -s /usr/lib64/libGLEW.so.1.10 /usr/lib64/libGLEW.so.1.9″ or by "ln -s /usr/lib64/libreoffice/program/libGLEW.so.1.10 /usr/lib64/libreoffice/program/libGLEW.so.1.9" (the second one does not mess with system location /usr/lib64 and seems to work just as well). Can be resolved permanently by recompiling the package using the provided SlackBuild script. I am looking for a solution that I can apply to my package (I do not want to create a separate package just for Slackware-current)

(2) I always expect a full install of Slackware, but you solved this nicely.

(3) Has been fixed in my repository.

(4) Why? I never had the need to do this. What fails to work for you if you do not set the LD_LIBRARY_PATH ?

Eric
 
Old 08-07-2014, 11:16 AM   #4
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,176

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by burdi01 View Post
Slackware64 Current: Just upgraded libreoffice from 4.2.5/1alien to 4.3.0/1alien.

Just some nitpicks:
1) /usr/lib64/libreoffice/program contains libGLEW-so.1.10, but libGLEW.so.1.9 is sought for - copied it from the 14.1 x/glew package;
2) Required are lib{gtkpeer,jawt}.so from the d/gcc-java package, but to install a 25 MB package for just some 225 KB worth of libraries seems somewhat overdone - extracted the two libraries from the package therefore;
3) The caladeo font is not available;
4 Required is a wrapper for libreoffice to do an LD_LIBRARY_PATH=/usr/lib/libreoffice/program before invoking libreoffice. Alternatively one could amend /etc/ld.so.conf.
(Slackware 64 -current, full install plus Eric's KDE 4.13.3)

I have a problem with LibreOffice 4.3.0 on -current, which might be connected to point no. 4. If not, sorry for intruding on your thread!

Starting LibreOffice Writer, I get the following error message:

Code:
Component cannot be loaded, possibly broken or incomplete installation.
Full error message:

loading component library failed: file:///usr/lib64/libreoffice/program/../program/libswlo.so.
With Calc, it's libsclo.so, and with Draw, it's libsdlo.so.

These files exist.

I did installpkg {libreoffice, libreoffice-l10-en_GB, libreoffice-dict and libreoffice-kde-integration}, because LibreOffice did not exist on this system beforehand.

Last edited by Gerard Lally; 08-07-2014 at 12:43 PM.
 
Old 08-07-2014, 12:19 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
Quote:
Originally Posted by gezley View Post
I have a problem with LibreOffice 4.3.0 on -current, which might be connected to point no. 4.
Code:
Component cannot be loaded, possibly broken or incomplete installation.
Full error message:

loading component library failed: file:///usr/lib64/libreoffice/program/../program/libswlo.so.
That error is related to (1) not to (4).

If you use my packages, please check my blog site for updates and discussions - the above issue was discussed there and a solution provided. I want to avoid having to monitor threads on multiple websites.

Eric
 
Old 08-07-2014, 12:32 PM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,176

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Alien Bob View Post
That error is related to (1) not to (4).

If you use my packages, please check my blog site for updates and discussions - the above issue was discussed there and a solution provided. I want to avoid having to monitor threads on multiple websites.

Eric
Thanks. I'll boot into Slackware later and try the fix.
 
Old 08-07-2014, 01:20 PM   #7
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Excellent. Thanks for the wonderful work that you do for our community, Eric. Upgraded to 4.3.0.
 
Old 08-08-2014, 05:17 AM   #8
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Original Poster
Rep: Reputation: 114Reputation: 114
Quote:
(4) Why? I never had the need to do this. What fails to work for you if you do not set the LD_LIBRARY_PATH ?
Beste Eric,

After installing your package I experienced the same "loading component library failed: file:///usr/lib64/libreoffice/program/../program/libswlo.so" as did gezley. Seeing that these libs[wcd]lo.so were present in the /usr/lib64/libreoffice/program/ directory made me assume that libreoffice now needed an LD_LIBRARY_PATH (or an amendment to ld.so.conf).
Doing an "ldd" for /usr/lib64/libreoffice/program/* also reported the missing libGLEW.so.1.9 (and some libraries from other non-installed packages). And after adding the "ldd" libraries into /usr/lib64/libreoffice/program/ and creating the wrapper for the LD_LIBRARY_PATH libreoffice ran like a charm.

In hindsight I should have noticed that the libs[wcd]lo.so were missing from the "ldd not-found" list. So something "funny" must be going on. I now did some testing and found that without libGLEW the libs[wcd]lo.so cannot be loaded, whereas with libGLEW they can ...

You say that the libs[wcd]lo.so problem was discussed and solution provided on your blog site. I failed to find that discussion there ...

Met vriendelijke groet,
Dick
 
Old 08-08-2014, 05:47 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
Hi Dick

The first comment on that blog page has this screenshot: http://thecoreme.org/shared/lo_error.png . The error with libsclo.so is caused by a mis-matched libGLEW.so library being installed system-wide.

The reason for that error is that I compiled libreoffice on Slackware 14.1 which has libGLEW.so.1.9 installed. And even though I instructed the compilation to build an internal private version of glew, and it did that, the linker unfortunately preferred the Slackware 14.1 version instead of the private version of libGLEW.so.1. Then, when you use this package in slackware-current which has libGLEW.so.1.10 you get a linking error because libGLEW.so.1.9 can no longer be found, which results in the component loading error.

I solved this (and the packages are nearly ready for upload) by "removepkg glew" prior to recompiling the packages on Slackware 14.1. This time, the libreoffice libraries are properly linking to the private version of libGLEW.so.10 and the resulting package can be used on Slackware 14.1 and current.

Eric
 
1 members found this post helpful.
Old 08-08-2014, 07:23 AM   #10
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Original Poster
Rep: Reputation: 114Reputation: 114
Eric:
It never occurred to me to look at the comments </blush>.
The new 2alien build is OK.
Thks, Dick

Last edited by burdi01; 08-08-2014 at 07:26 AM.
 
Old 08-08-2014, 09:00 AM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
The comments section is where all the fun stuff happens. The articles are merely there to attract attention to the discussion ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 02:37 PM
[SOLVED] openjdk-7u13_b20-x86_64-1alien Segmentation fault zasavage Slackware 3 02-14-2013 03:46 PM
[SOLVED] gcc-java-4.7.1_multilib-x86_64-1alien package install on slack 14 64bit Old_Fogie Slackware 5 11-05-2012 02:44 PM
LXer: Build Your Business Around LibreOffice, LibreOffice Certification Program Announced LXer Syndicated Linux News 0 05-07-2012 12:10 PM
[SOLVED] rss-glx-0.9.1-i486-1alien broken by imagemagick upgrade in -current jamesf Slackware 5 01-04-2011 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration