LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
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?
 
Old 05-14-2016, 04:33 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Quote:
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.
 
  


Reply



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 anon108 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:18 PM.

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