Will my compiled software "break" if I update my system to a new Slackware version?
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.
I think you misread what I wrote. There's no any playing with symlinks.
TLDR version: you make a directory outside of systems lib dirs like /opt/lib64/oldlibs and put the old libs inside. Than put it in ld.so.conf.
Only symlinks you make is those in /opt/lib64/oldlibs. You don't really mess up anything on your default install.
Cheers.
I can understand doing this if the new package doesn't compile on the updated system, but if it does compile, I think it'd be much easier to just recompile the package (and dependencies, if needed) than trying to figure out what libs you're missing, finding those libs (hopefully they're official Slackware libs so they're easily grabbed out of packages), adding them to your system, creating any symlinks needed, and then updating ld.so.conf...
Maybe it's because I use some programs that rely on a lot of different libs, and it would take a while to find all the required libs and add them to the system. I'd much rather set up a queue, let sbopkg run through the night (I have an old computer) and then in the morning, it'll be as good as before.
I think you misread what I wrote. There's no any playing with symlinks.
TLDR version: you make a directory outside of systems lib dirs like /opt/lib64/oldlibs and put the old libs inside. Than put it in ld.so.conf.
Only symlinks you make is those in /opt/lib64/oldlibs. You don't really mess up anything on your default install.
Cheers.
Anyways, the idea is not to have to recompile 100 packages at once, but over the time as the new versions get released.
Those libs won't interfer with system libs. All newly compiled packages will use the new libs from the system lib directories.
Of course, it's important that you only copy the runtime libs and discard the other parts of the packages (no development headers, pkgconfig files, docs and other non-runtime stuff). What you need are versioned runtime libs and symlinks (libgif.so.2.0.0 and libgif.so.2 are ok, but libgif.so is not). Then everything works just fine.
I can understand doing this if the new package doesn't compile on the updated system, but if it does compile, I think it'd be much easier to just recompile the package (and dependencies, if needed) than trying to figure out what libs you're missing, finding those libs (hopefully they're official Slackware libs so they're easily grabbed out of packages), adding them to your system, creating any symlinks needed, and then updating ld.so.conf...
Maybe it's because I use some programs that rely on a lot of different libs, and it would take a while to find all the required libs and add them to the system. I'd much rather set up a queue, let sbopkg run through the night (I have an old computer) and then in the morning, it'll be as good as before.
One package is not the problem. 20 or 30 packages are. Not even counting the bulky dependencies like webkitgtk or wxPython.
It takes much less time to workout the dependencies for those than recompile everything. 15 minutes. Maybe more. Dependeing on the case. But not more than 30 mins.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.