+ Post New Thread
Results 1 to 1 of 1
*nix Thread, Can Someone Clever Explain What ldconfig and env-update Do? in Technical; Hi - long time Windows user agonising my way through some Linux training. Heh, actually it's not all that bad. ...
  1. #1

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    1,021
    Thank Post
    291
    Thanked 298 Times in 180 Posts
    Rep Power
    124

    Can Someone Clever Explain What ldconfig and env-update Do?

    Hi - long time Windows user agonising my way through some Linux training. Heh, actually it's not all that bad.

    Please stop me if any of the following is wrong, as it's leading me to my question:

    Coming onto package management now, and as far as I understand it, you get "app store" style management of packages rather than "download this .exe and run this and that" as with Windows.

    Then you have libraries, which are bits like .dlls you get in Windows, which do %stuff%. SHARED libraries are .so files and lots of software can use those, as they're all in one place that everything knows about. STATIC libraries are .a files and only one bit of software uses those; that's for if you're into hardcore version-specific fiddling about rather than streamlined system day-to-daying.

    A file called /etc/ld.so.conf tells the system where to go looking for shared libraries. Lines in there look much like:

    include /etc/ld.so.conf.d/*.conf
    include /etc/lollibrariesomg/*.conf

    First line is default, second line is one you'd put in because you'd got libraries in the 'lollibrariesomg' folder and wanted Linux to have a rummage in there for libraries you've put in with your fiddling.

    Now, env-update does something to make sure the libraries are up to date but I dunno what exactly. Also, ldconfig does something too and has a BUNCH of switches to it but I have no idea what. Something about updating the 'library cache' (what?) and/or the 'symbolic links' (what what?) Googling both just leads me to hugely difficult Linux questions on Linux boards that all the Linux folks talk about and it might as well be in Greek. Backwards.

    Anyone passing who's clever fancy awaring me on what I'm missing with those two bad boys?

    Huge thanks in advance for the time.
    Last edited by Miscbrah; 13th November 2013 at 01:30 PM.



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 2
    Last Post: 6th February 2013, 04:09 PM
  2. Replies: 10
    Last Post: 19th September 2012, 10:41 AM
  3. Can someone tell me what insect this is please ?
    By mattx in forum General Chat
    Replies: 6
    Last Post: 28th July 2012, 04:39 PM
  4. [Video] Can someone explain what this was all about ?
    By mattx in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 15th October 2011, 05:33 PM
  5. Can someone please explain....
    By mattx in forum Gaming
    Replies: 4
    Last Post: 1st October 2011, 07:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •