Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-17-2016, 05:28 AM   #1
LQ Newbie
Registered: Apr 2016
Posts: 1

Rep: Reputation: Disabled
ldconfig option X - When is it needed?

I'm trying to understand ldconfig.
I can't find out when option X is needed.
I would be useful to see some examples.

From ldconfig help page:
-X Don't generate links

When do I need to update cache without links (re)generation?
Old 05-14-2016, 04:33 AM   #2
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Buster (Fluxbox WM)
Posts: 1,389
Blog Entries: 52

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
Originally Posted by pedrotech View Post
From ldconfig help page:
-X Don't generate links
When do I need to update cache without links (re)generation?
If you want to just do a dry run test (ie, not add/remove links), you can use the '-X' flag along with the '-v' flag to see the list of links to be generated. You could alternatively use '-D', which holds off both the link generation and the cache update.


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
What config option needed for usb wifi rt2x00 modules? wufo Slackware 4 01-06-2010 07:05 AM
Help needed to install Redhat Fedora 4 with dual boot option adai2020 Linux - Laptop and Netbook 1 08-04-2009 06:38 AM
cross compilation error -- /usr/local/bin/ld: unrecognized option '--as-needed' shabeervsm Linux - Kernel 1 09-08-2008 04:01 AM
grep option needed ziox Linux - General 7 01-04-2005 11:02 PM
"ld unrecognized option '--as-needed'" aoe2bug Slackware 5 08-17-2004 05:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration