LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ldconfig option X - When is it needed? (https://www.linuxquestions.org/questions/linux-newbie-8/ldconfig-option-x-when-is-it-needed-4175577650/)

pedrotech 04-17-2016 05:28 AM

ldconfig option X - When is it needed?
 
Hi,
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?

neonsignal 05-14-2016 04:33 AM

Quote:

Originally Posted by pedrotech (Post 5532368)
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.


All times are GMT -5. The time now is 08:40 PM.