LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-18-2011, 12:16 PM   #1
The GNUinator
Member
 
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71

Rep: Reputation: 15
LibreOffice Slackbuild script fails - missing library


Do you have to have OpenOffice first before you use Slackbuilds to build the LibreOffice package? I tried to build the package on a ThinkPad T41 running Slack 13.1 that does not have OpenOffice installed. The Slackbuild script fails and returns an error that a library is missing. When I search for that library I find that I have copies of it in /usr/lib/firefox and /usr/lib/thunderbird. Any ideas?
 
Old 04-18-2011, 12:45 PM   #2
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
You shouldn't need OO installed to install LibreOffice (though they likely use some of the same libs). What library is supposed to be missing, and what is the exact error message?
 
1 members found this post helpful.
Old 04-18-2011, 02:28 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You know that you don't have to actually compile that package? I have a SlackBuild for reference but trying to compile it yourself is not advised unless you know what you are doing. NO offense but your comments do not show that you really know what you are doing. Next time you could start with posting the actual errors here...

Get a ready-made package in the "pkg" and "pkg64" subdirectories (the latter has 64bit packages) of: http://taper.alienbase.nl/mirrors/pe...s/libreoffice/

Eric
 
1 members found this post helpful.
Old 04-18-2011, 03:23 PM   #4
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by The GNUinator View Post
When I search for that library I find that I have copies of it in /usr/lib/firefox and /usr/lib/thunderbird. Any ideas?
You could try making a link to the library file in either firefox or thunderbird to a file of the same name in /usr/lib.

start with
cd /usr/lib

followed by
ln -s firefox/<missing_library_name>
or
ln -s thunderbird/<missing_library_name>
 
1 members found this post helpful.
Old 04-18-2011, 04:03 PM   #5
The GNUinator
Member
 
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob View Post
You know that you don't have to actually compile that package? I have a SlackBuild for reference but trying to compile it yourself is not advised unless you know what you are doing. NO offense but your comments do not show that you really know what you are doing. Next time you could start with posting the actual errors here...

Get a ready-made package in the "pkg" and "pkg64" subdirectories (the latter has 64bit packages) of: http://taper.alienbase.nl/mirrors/pe...s/libreoffice/

Eric
Thanks. No offense taken. I am a perennial intermediate user, love Slackware, think Caitlyn was wrong. Used your scripts and packages over the years.
error message:
Quote:
rpm2cpio: error while loading shared libraries: libnss3.so: ... no such file or directory
Thanks to all who posted. I'll update.
 
Old 04-18-2011, 04:09 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by The GNUinator View Post
rpm2cpio: error while loading shared libraries: libnss3.so: ... no such file or directory
That looks like you are using the SlackBuild script at http://slackbuilds.org/repository/13...e/libreoffice/ which re-packages the binaries inside the official RPMs into Slackware packages.
The contents of the official RPMs are extracted using cpio and the rpm2cpio script which needs the "seamonkey-solibs" to be installed. Apparently you did not install it?

Eric
 
1 members found this post helpful.
Old 04-18-2011, 06:37 PM   #7
The GNUinator
Member
 
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71

Original Poster
Rep: Reputation: 15
Rate this thread SOLVED

Quote:
Originally Posted by psionl0 View Post
You could try making a link to the library file in either firefox or thunderbird to a file of the same name in /usr/lib.

start with
cd /usr/lib

followed by
ln -s firefox/<missing_library_name>
or
ln -s thunderbird/<missing_library_name>
Thanks to all. I install all Slackware packages and then uninstall gcc-gfortran, etc and SeaMonkey. To fix the isue I made soft links to four missing libraries. Package compiled cleanly on the second try. Was not aware that Alien Bob had produced pre-compiled packages. Am glad to be able to compile from the SlackBuild script. My theory is you get better at playing chess by playing chess with people who are better than you are.
 
  


Reply



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
FBReader Slackbuild fails bogzab Slackware 3 04-08-2011 09:41 AM
[SOLVED] Conky SlackBuild fails agi93 Slackware 6 07-02-2010 05:21 PM
[SOLVED] Wine Install fails at line 291 - Alien Bob's SlackBuild script Tim Johnson Slackware 14 02-01-2010 11:52 PM
wmii slackbuild fails... What can I do...? Alexvader Slackware 3 11-02-2009 09:59 AM
ldd reports shared library missing, but library exists on disk athv_gr Linux - Newbie 7 05-13-2009 12:31 PM

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

All times are GMT -5. The time now is 06:18 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