LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   LibreOffice Slackbuild script fails - missing library (http://www.linuxquestions.org/questions/slackware-14/libreoffice-slackbuild-script-fails-missing-library-875674/)

The GNUinator 04-18-2011 12:16 PM

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?

NyteOwl 04-18-2011 12:45 PM

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?

Alien Bob 04-18-2011 02:28 PM

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

psionl0 04-18-2011 03:23 PM

Quote:

Originally Posted by The GNUinator (Post 4328253)
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>

The GNUinator 04-18-2011 04:03 PM

Quote:

Originally Posted by Alien Bob (Post 4328390)
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.

Alien Bob 04-18-2011 04:09 PM

Quote:

Originally Posted by The GNUinator (Post 4328498)
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

The GNUinator 04-18-2011 06:37 PM

Rate this thread SOLVED
 
Quote:

Originally Posted by psionl0 (Post 4328448)
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.


All times are GMT -5. The time now is 09:31 AM.