How to update the available library list on Slackware
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
How to update the available library list on Slackware
Let me explain what is going on:
I am using Slack 12.1 and I am trying to install a software A, but A depends on B. OK, no problem, that's common in Slackware. To solve this I first install software B and after install software A.
I am doing all of this in the Slask way, I want to say: ./configure, make and make install.
But the problem is, when a finished to install software B and come back trying to install software A again, it doesn't recognize that software B is installed and I need to reboot to update the available library list.
Some one knows a way of update this available library list, in a way that I don't need to reboot for this porpose?
I also thought of that. When you install with "./configure && make && make install",
iirc from my pre-SlackBuild script days, it installs to /usr/local rather than to the
Slackware path of /usr -- is that correct?
To make installing Slackware packages easier, with a SlackBuild script, you should try
Alien Bob's Alien's SlackBuild Toolkit.
Last edited by Bruce Hill; 09-18-2008 at 02:36 AM.
Reason: added AST link
When you install with "./configure && make && make install"
it installs the software to /usr/local.
And Slackware installs Slackware packages to /usr, so your
software installed with "./configure && make && make install"
is not found where Slackware packages are installed.
Therefore, the Slackware way is to create packages that install
themselves into "prefix=/usr". That way when you compile other
software later, that depends on it, things will install easier.
Meaning, you'll avoid the problem you had in this thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.