difference between SHLIB_PATH, LD_LIBRARY_PATH

Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default difference between SHLIB_PATH, LD_LIBRARY_PATH

    hi friends,

    anyone knows what is the diffence between SHLIB_PATH and
    LD_LIBRARY_PATH. and why are are used actually.

    In setting one of the unix parameter I am using LD_LIBRARY_PATH, can
    any one brief me on what is its function and how actually it is
    different from SHLIB_PATH.


    regards
    RAMESH
    chennakeshava_ramesh@yahoo.co.in Guest

  2. Similar Questions and Discussions

    1. what's the difference?
      Greetings - I'm looking to buy a good beginners book on DMX/php/mysql and I see this one mentioned all over the place, but I also hear complaints...
    2. difference between these 2?
      In some examples I am looking through they are speaking of datagrids and datalists (this is not the question :) For the datalist a column is...
    3. SHLIB_PATH
      Hi, all: I would like to use SHLIB_PATH to re-direct linking to run-time third party library, and the code is compiled with -Wl,+s option, and here...
    4. LD_LIBRARY_PATH Behavior
      Hello all, I am not entirely sure which is the correct newsgroup for this, but I will give it a try. How can I get linux to look at the...
    5. set LD_LIBRARY_PATH under single user mode with solaris 8
      set LD_LIBRARY_PATH under single user mode with solaris 8 How to set LD_LIBRARY_PATH under single user mode? After login in to single user mode...
  3. #2

    Default Re: difference between SHLIB_PATH, LD_LIBRARY_PATH



    "chennakeshava_ramesh@yahoo.co.in" wrote:
    > hi friends,
    >
    > anyone knows what is the diffence between SHLIB_PATH and
    > LD_LIBRARY_PATH. and why are are used actually.
    >
    > In setting one of the unix parameter I am using LD_LIBRARY_PATH, can
    > any one brief me on what is its function and how actually it is
    > different from SHLIB_PATH.
    >
    > regards
    > RAMESH
    The use of either or both is generally derecated.

    Speaking only for myself,

    Joe Durusau


    joe durusau Guest

  4. #3

    Default Re: difference between SHLIB_PATH, LD_LIBRARY_PATH

    In article <dd47f418.0405120335.25fed596@posting.google.com >,
    [email]chennakeshava_ramesh@yahoo.co.in[/email] wrote:
    > hi friends,
    >
    > anyone knows what is the diffence between SHLIB_PATH and
    > LD_LIBRARY_PATH. and why are are used actually.
    >
    > In setting one of the unix parameter I am using LD_LIBRARY_PATH, can
    > any one brief me on what is its function and how actually it is
    > different from SHLIB_PATH.
    >
    Assuming you are using HP-UX (to my knowledge, the only platform using
    SHLIB_PATH), SHLIB_PATH is the OLD method of setting a shared-library search
    path and LD_LIBRARY_PATH is the new method (starting in, I think, 11.11) that
    other platforms (Solaris, Linux, etc) have always used.

    In current versions (from 11.11), both will be check if they are defined, with
    LD_LIBRARY_PATH being searched 1st and SHLIB_PATH next.

    See 'man dld.sl' for more info...

    Kevin
    Kevin Collins Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139