LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-20-2014, 10:52 PM   #1
WhiteyMcQ-Tip
Member
 
Registered: Feb 2012
Distribution: Slackware
Posts: 33

Rep: Reputation: Disabled
Slackware 14.1 | Shared object files lost in attempt to upgrade.


Hello again Gurus' out there,

As stated in the subject line, I tried to upgrade all of my packages from 14.1 to Current and upon restarting my system so far I have noticed two missing .so files.

Here's what I get via Terminal:

Quote:
emacs: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory

dolphin: error while loading shared libraries: libnepomukwidgets.so.4: cannot open shared object file: No such file or directory

firefox: XPCOMGlueLoad error for file /usr/lib64/firefox-32.0/libxul.so:
libharfbuzz.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
Those are just there applications I have not been able to start. To get to this point I was using installpkg. I'm not sure if this is due to "instability" in the current files; i.e. experimental files or testing. I've searched for libraries that would build these and also added AlienBOB's multilib packages as well.

Any help with obtaining the proper packages to replace what has been lost will go highly appreciated.
 
Old 09-21-2014, 12:29 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,777

Rep: Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875
how do you perform an upgrade?
if you use slackpkg and do the right steps, you won't get a problem
try this:

Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
 
Old 09-21-2014, 02:57 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,218

Rep: Reputation: Disabled
Slightly off topic:

If you have a local mirror you can check that the shared object should be there:
Code:
~$ bzgrep libharfbuzz /media/versions/slackware-current/slackware/MANIFEST.bz2 
-rwxr-xr-x root/root    594528 2013-05-19 00:19 usr/lib/libharfbuzz.so.0.916.0
-rwxr-xr-x root/root      1140 2013-05-19 00:19 usr/lib/libharfbuzz.la
~$
And the Slackware Packages Browser can tell you which packages ship it (in this case harfbuzz-0.9.16-i486-1.txz, you should also have installed nepomuk-widgets-4.10.5-i486-1.txz). Of course use the "content" mode of the browser.

Bear in bind that the symlinks made by doinst.sh are to be found in /var/log/scripts/* if present, instead of /var/log/packages/* and thus don't show in the MANIFEST files nor in the package browser.

Also, when running -current always do a full installation as you can't completely rule out the possibility that a file be moved from package A to package B during a development cycle.

Last edited by Didier Spaier; 09-21-2014 at 03:24 AM.
 
1 members found this post helpful.
Old 09-21-2014, 07:35 AM   #4
WhiteyMcQ-Tip
Member
 
Registered: Feb 2012
Distribution: Slackware
Posts: 33

Original Poster
Rep: Reputation: Disabled
Thanks for the input, so far no luck, tried willysr' advice again.

willysr:
Quote:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
Using this method has brought me to this point.

Didier Spaier:

I'm trying to set up a local mirror and/or rsync at the moment. I will repost once I have the local mirror setup. Thanks for the links also!

Last edited by WhiteyMcQ-Tip; 09-21-2014 at 07:36 AM.
 
Old 09-21-2014, 09:12 AM   #5
WhiteyMcQ-Tip
Member
 
Registered: Feb 2012
Distribution: Slackware
Posts: 33

Original Poster
Rep: Reputation: Disabled
Thanks for the input; great explanation Dider Spaiers!

After using Didier Spaiers' method I was able to find out what package I needed to install.

Quote:
bzgrep libharfbuzz MANIFEST.bz2
-rwxr-xr-x root/root 594408 2013-05-18 19:18 usr/lib64/libharfbuzz.so.0.916.0
-rwxr-xr-x root/root 1172 2013-05-18 19:18 usr/lib64/libharfbuzz.la
Solved by installing package harfbuzz-0.9.16-x86_64-1.txz & nepomuk-widgets-4.10.5-x86_64-1.txz

Last edited by WhiteyMcQ-Tip; 09-21-2014 at 09:24 AM.
 
Old 09-21-2014, 10:47 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,777

Rep: Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875
so the problem was caused by incomplete installation....
 
  


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 tell what files are in a shared object (.so) doughyi8u Programming 2 07-18-2012 06:58 AM
data sharing between c++ shared object and Fortran shared object Madhubala Debian 2 08-19-2011 03:22 AM
10.10 lost functions after botched upgrade attempt puzzleduser Ubuntu 3 06-14-2011 08:19 PM
Compile shared object files using valac Kenny_Strawn Programming 1 10-20-2010 09:33 PM
Adding object files to shared objects gopherq Linux - Software 3 06-25-2008 02:21 PM

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

All times are GMT -5. The time now is 12:59 PM.

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