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.
ldconfig is definitely necessary and should be left to run at boot time.
ldconfig updates the locations of shared libraries on the system.
For more information, run the command:
man ldconfig
...to view the ldconfig man page.
After reading the man page, so you have a better idea of what it's doing and how it works, you may want to check its config file (/etc/ld.so.conf, by default) to see if any of the directories listed there do not exist or are otherwise unreachable at the point during the boot that the command runs. If ldconfig can't locate or access the directories, this could be the cause of the delay.
Also: I've noticed that, in 9.1, ldconfig does seem to take longer on boot than it did in previous slackware releases (8.1, 9.0). I haven't investigated this yet myself.
Originally posted by Ninja Cow I don't have ldconfig left on at boot time. I run it after I installed stuff....so meeh.
Yeag, from reading the man files, It really seems that I only need to run ldconfig after something new is installed. I think I'll try and remove it from the boot sequence and see how it works.
Hmm.. I cant seem to find anywhere in my boot scripts where there is a mention of ldconfig. Ninja Cow, or anyone else, where can ldconfig be remover from the boot sequence?
Be sure to comment out all three lines of the "If,then/echo/command" statement.
Obviously, it doesn't HAVE to be run on every boot. But, if you don't, you'll need to remember to run it after every install, update, upgrade, recompile, etc.
For my purposes, I prefer to let it run at boot, just to be sure. That few seconds of extra boot time is not a critical issue for me. Especially since I don't reboot that often.
Originally posted by SlackMaster You'll find in the /etc/rc.d/rc.M file.
Be sure to comment out all three lines of the "If,then/echo/command" statement.
Obviously, it doesn't HAVE to be run on every boot. But, if you don't, you'll need to remember to run it after every install, update, upgrade, recompile, etc.
For my purposes, I prefer to let it run at boot, just to be sure. That few seconds of extra boot time is not a critical issue for me. Especially since I don't reboot that often.
Thanks
Yes, since I have my system set-up the way I like it, I rarely install / recompile anything, so running ldconfig is no big deal for me.
Also, on a slow hard drive like I have, it take a long time compared to the rest of the boot process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.