Slackware 14 - Current - Update won't allow gparted to execute
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware 14 - Current - Update won't allow gparted to execute
I'm running Slackware 14 (32 Bit) which I keep updated each month or so.
Today I updated my Slackware and now gparted doesn't execute.
bash-4.2$ which gparted
/usr/sbin/gparted
bash-4.2$
bash-4.2$ sudo gparted
Password:
/usr/sbin/gpartedbin: error while loading shared libraries: libparted.so.0: cannot open shared object file: No such file or directory
bash-4.2$
How did libparted.so.0 become missing? What is the solution to making gparted execute?
Are you sure you didn't mix 32/64 bit while updating? Also, did you actually check that libparted.so 0 actually be there or not with 'locate libgparted" command, issued after having executed 'updatedb'?
Last edited by Didier Spaier; 05-11-2013 at 02:44 PM.
Sounds like an update to -current rather than keeping 14.0 updated. The update in -current to parted-3.1 bumped the shared library from .0 to .2, so anything that was linked against the old shared library will at least need a recompile, and in some cases patches to work with the new parted API.
So it definitely should be there.
In opposite, on my Slackware -current system I don't have libparted.so.0, but libparted.so.2.
If you run -current you can either try to fix your issues with symlinking libparted.so.0 to libparted.so.2 or, better with system-critical programs like GParted, recompile the GParted package.
Didier Spaier, volkerdi, & TobiSGD:
I know for a fact I installed Slackware 14 (32 Bit) from a DVD. I've been executing the following commands
about once a month.
Maybe I missed something on how to keep Slackware 14 Updated. So, exactly what commands should I have executed versus
what I actually executed? Is there a way to recover? I'm about at wits end, because every time I update I end up
with things that don't work, and I end up posting for help.
Can you explain in detail what the exact commands are to update Slackware 14, and what command updates to -current?
I did an updatedb and here is what I have for libparted:
Can you explain in detail what the exact commands are to update Slackware 14, and what command updates to -current?
The commands you are using are correct, but it all depends on the URL you have uncommented in /etc/slackpkg/mirrors ... if that is the URL of a slackware-current mirror then you are no longer running Slackware 14.0 but slackware-current instead.
I'm not so sure that will work. At least glibc is cannot be reverted without some manual intervention, and any new packages aren't going to be removed.
My advice would be that if -current is working well (more or less), go with it. Otherwise the best bet is a reinstall.
I had the same problem with gparted. Here is what I did to solve it:
I installed slapt-get from HERE. You can get all the instructions you need on using slapt-get from that link. Make sure slapt-get is updated with the latest package list.
Next, I installed slapt-src with these commands in the terminal:
Code:
slapt-get -i slapt-src
Then, I did
Code:
slapt-src -u
to update the package list. Finally, I did
Code:
slapt-src -i gparted
to recompile and reinstall gparted.
After that, I had no problem with libparted dependencies and I could use gparted!
If you have any further questions, please PM me. Thanks and good luck...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.