Find out if library is in path

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
9
down vote

favorite












Assuming I want to test if a library is installed and usable by a program. I can use ldconfig -p | grep mylib to find out if it's installed on the system. but what if the library is only known via setting LD_LIBRARY_PATH?



In that case, the program may be able to find the library, but ldconfig won't. How can I check if the library is in the combined linker path?



I'll add that I'm looking for a solution that will work even if I don't actually have the program at hand (e.g. the program isn't compiled yet), I just want to know that a certain library exists in ld's paths.










share|improve this question



















  • 2




    You could use ldd <binary> to check if all libraries linked are in the path. Maybe there is a more elegant way.
    – Thomas
    May 10 '16 at 9:33










  • @Thomas I think you should make an answer of your comment. ldd serves exactly this purpose.
    – lgeorget
    May 10 '16 at 9:41






  • 1




    @Thomas - but what if I the program isn't compiled yet, and that library is needed for compilation?
    – nbubis
    May 10 '16 at 9:41










  • @Igeorget - see my edit / comment
    – nbubis
    May 10 '16 at 9:44










  • @nbubis: when you need the library for compilation, you normally have to use LIBRARY_PATH environment variable which is looked up e.g. by the gcc compiler. The LIBRARY_PATH environment variable also has a colon seperated list of directories.
    – Thomas
    May 10 '16 at 10:09















up vote
9
down vote

favorite












Assuming I want to test if a library is installed and usable by a program. I can use ldconfig -p | grep mylib to find out if it's installed on the system. but what if the library is only known via setting LD_LIBRARY_PATH?



In that case, the program may be able to find the library, but ldconfig won't. How can I check if the library is in the combined linker path?



I'll add that I'm looking for a solution that will work even if I don't actually have the program at hand (e.g. the program isn't compiled yet), I just want to know that a certain library exists in ld's paths.










share|improve this question



















  • 2




    You could use ldd <binary> to check if all libraries linked are in the path. Maybe there is a more elegant way.
    – Thomas
    May 10 '16 at 9:33










  • @Thomas I think you should make an answer of your comment. ldd serves exactly this purpose.
    – lgeorget
    May 10 '16 at 9:41






  • 1




    @Thomas - but what if I the program isn't compiled yet, and that library is needed for compilation?
    – nbubis
    May 10 '16 at 9:41










  • @Igeorget - see my edit / comment
    – nbubis
    May 10 '16 at 9:44










  • @nbubis: when you need the library for compilation, you normally have to use LIBRARY_PATH environment variable which is looked up e.g. by the gcc compiler. The LIBRARY_PATH environment variable also has a colon seperated list of directories.
    – Thomas
    May 10 '16 at 10:09













up vote
9
down vote

favorite









up vote
9
down vote

favorite











Assuming I want to test if a library is installed and usable by a program. I can use ldconfig -p | grep mylib to find out if it's installed on the system. but what if the library is only known via setting LD_LIBRARY_PATH?



In that case, the program may be able to find the library, but ldconfig won't. How can I check if the library is in the combined linker path?



I'll add that I'm looking for a solution that will work even if I don't actually have the program at hand (e.g. the program isn't compiled yet), I just want to know that a certain library exists in ld's paths.










share|improve this question















Assuming I want to test if a library is installed and usable by a program. I can use ldconfig -p | grep mylib to find out if it's installed on the system. but what if the library is only known via setting LD_LIBRARY_PATH?



In that case, the program may be able to find the library, but ldconfig won't. How can I check if the library is in the combined linker path?



I'll add that I'm looking for a solution that will work even if I don't actually have the program at hand (e.g. the program isn't compiled yet), I just want to know that a certain library exists in ld's paths.







linux dynamic-linking ld






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 10 '16 at 10:57









Thomas Dickey

51.4k594164




51.4k594164










asked May 10 '16 at 9:05









nbubis

3792417




3792417







  • 2




    You could use ldd <binary> to check if all libraries linked are in the path. Maybe there is a more elegant way.
    – Thomas
    May 10 '16 at 9:33










  • @Thomas I think you should make an answer of your comment. ldd serves exactly this purpose.
    – lgeorget
    May 10 '16 at 9:41






  • 1




    @Thomas - but what if I the program isn't compiled yet, and that library is needed for compilation?
    – nbubis
    May 10 '16 at 9:41










  • @Igeorget - see my edit / comment
    – nbubis
    May 10 '16 at 9:44










  • @nbubis: when you need the library for compilation, you normally have to use LIBRARY_PATH environment variable which is looked up e.g. by the gcc compiler. The LIBRARY_PATH environment variable also has a colon seperated list of directories.
    – Thomas
    May 10 '16 at 10:09













  • 2




    You could use ldd <binary> to check if all libraries linked are in the path. Maybe there is a more elegant way.
    – Thomas
    May 10 '16 at 9:33










  • @Thomas I think you should make an answer of your comment. ldd serves exactly this purpose.
    – lgeorget
    May 10 '16 at 9:41






  • 1




    @Thomas - but what if I the program isn't compiled yet, and that library is needed for compilation?
    – nbubis
    May 10 '16 at 9:41










  • @Igeorget - see my edit / comment
    – nbubis
    May 10 '16 at 9:44










  • @nbubis: when you need the library for compilation, you normally have to use LIBRARY_PATH environment variable which is looked up e.g. by the gcc compiler. The LIBRARY_PATH environment variable also has a colon seperated list of directories.
    – Thomas
    May 10 '16 at 10:09








2




2




You could use ldd <binary> to check if all libraries linked are in the path. Maybe there is a more elegant way.
– Thomas
May 10 '16 at 9:33




You could use ldd <binary> to check if all libraries linked are in the path. Maybe there is a more elegant way.
– Thomas
May 10 '16 at 9:33












@Thomas I think you should make an answer of your comment. ldd serves exactly this purpose.
– lgeorget
May 10 '16 at 9:41




@Thomas I think you should make an answer of your comment. ldd serves exactly this purpose.
– lgeorget
May 10 '16 at 9:41




1




1




@Thomas - but what if I the program isn't compiled yet, and that library is needed for compilation?
– nbubis
May 10 '16 at 9:41




@Thomas - but what if I the program isn't compiled yet, and that library is needed for compilation?
– nbubis
May 10 '16 at 9:41












@Igeorget - see my edit / comment
– nbubis
May 10 '16 at 9:44




@Igeorget - see my edit / comment
– nbubis
May 10 '16 at 9:44












@nbubis: when you need the library for compilation, you normally have to use LIBRARY_PATH environment variable which is looked up e.g. by the gcc compiler. The LIBRARY_PATH environment variable also has a colon seperated list of directories.
– Thomas
May 10 '16 at 10:09





@nbubis: when you need the library for compilation, you normally have to use LIBRARY_PATH environment variable which is looked up e.g. by the gcc compiler. The LIBRARY_PATH environment variable also has a colon seperated list of directories.
– Thomas
May 10 '16 at 10:09











3 Answers
3






active

oldest

votes

















up vote
9
down vote



accepted










ldconfig can list all the libraries it has access to. These libraries are also stored in its cache.



/sbin/ldconfig -v -N will crawl all the usual library paths, list all the available libraries, without reconstructing the cache (which is not possible if you're a non-root user). It does NOT take into account libraries in LD_LIBRARY_PATH (contrarily to what this post said before edit) but you can pass additional libraries to the command line by using the line below:



/sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)





share|improve this answer






















  • ldconfig is a tool from the 1980s that was given up in the 1990s. For this reason, ldconfig is not portable as it only applies to implementations that are based on the SunOS-4.0 a.out based dynamic linker from 1987.
    – schily
    May 10 '16 at 10:00










  • How does that help listing libs which are only on LD_LIBRARY_PATH? I guess I could write a script to parse that and then read that through ldconfig, but it seems a bit like an over kill.
    – nbubis
    May 10 '16 at 10:10






  • 1




    @nbubis you can always pass the libraries in LD_LIBRARY_PATH to ldconfig. Like /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) not too much of an overkill to my taste.
    – lgeorget
    May 10 '16 at 10:32











  • @schily Really? It works pretty well with ELF libraries as far as I can tell. And it's still used, ld.so relies on the cache built by ldconfig.
    – lgeorget
    May 10 '16 at 10:33










  • The Linux people hacked the old Sun linker source-code to support ELF. The new ELF implementation from Sun removed ldconfig in an agreement with AT&T as the linker caching was too sensitive to errors. Sun later added the tree stooges: moe, lari and crle as helper programs for ELF management.
    – schily
    May 10 '16 at 10:52

















up vote
1
down vote













Globally substitute (space) for : with LD_LIBRARY_PATH



/sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)





share|improve this answer





























    up vote
    0
    down vote













    You can compile a simple test program with gcc and link your library. Then you can check the used libraries with ldd. I use something like this:



    echo "int main()" | gcc -Wl,--no-as-needed -lmylib /tmp/test.c && ldd a.out | grep mylib


    -Wl,--no-as-needed prevents the linker from discarding the library, because no symbols from the library are used.






    share|improve this answer








    New contributor




    guini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f282199%2ffind-out-if-library-is-in-path%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      9
      down vote



      accepted










      ldconfig can list all the libraries it has access to. These libraries are also stored in its cache.



      /sbin/ldconfig -v -N will crawl all the usual library paths, list all the available libraries, without reconstructing the cache (which is not possible if you're a non-root user). It does NOT take into account libraries in LD_LIBRARY_PATH (contrarily to what this post said before edit) but you can pass additional libraries to the command line by using the line below:



      /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)





      share|improve this answer






















      • ldconfig is a tool from the 1980s that was given up in the 1990s. For this reason, ldconfig is not portable as it only applies to implementations that are based on the SunOS-4.0 a.out based dynamic linker from 1987.
        – schily
        May 10 '16 at 10:00










      • How does that help listing libs which are only on LD_LIBRARY_PATH? I guess I could write a script to parse that and then read that through ldconfig, but it seems a bit like an over kill.
        – nbubis
        May 10 '16 at 10:10






      • 1




        @nbubis you can always pass the libraries in LD_LIBRARY_PATH to ldconfig. Like /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) not too much of an overkill to my taste.
        – lgeorget
        May 10 '16 at 10:32











      • @schily Really? It works pretty well with ELF libraries as far as I can tell. And it's still used, ld.so relies on the cache built by ldconfig.
        – lgeorget
        May 10 '16 at 10:33










      • The Linux people hacked the old Sun linker source-code to support ELF. The new ELF implementation from Sun removed ldconfig in an agreement with AT&T as the linker caching was too sensitive to errors. Sun later added the tree stooges: moe, lari and crle as helper programs for ELF management.
        – schily
        May 10 '16 at 10:52














      up vote
      9
      down vote



      accepted










      ldconfig can list all the libraries it has access to. These libraries are also stored in its cache.



      /sbin/ldconfig -v -N will crawl all the usual library paths, list all the available libraries, without reconstructing the cache (which is not possible if you're a non-root user). It does NOT take into account libraries in LD_LIBRARY_PATH (contrarily to what this post said before edit) but you can pass additional libraries to the command line by using the line below:



      /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)





      share|improve this answer






















      • ldconfig is a tool from the 1980s that was given up in the 1990s. For this reason, ldconfig is not portable as it only applies to implementations that are based on the SunOS-4.0 a.out based dynamic linker from 1987.
        – schily
        May 10 '16 at 10:00










      • How does that help listing libs which are only on LD_LIBRARY_PATH? I guess I could write a script to parse that and then read that through ldconfig, but it seems a bit like an over kill.
        – nbubis
        May 10 '16 at 10:10






      • 1




        @nbubis you can always pass the libraries in LD_LIBRARY_PATH to ldconfig. Like /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) not too much of an overkill to my taste.
        – lgeorget
        May 10 '16 at 10:32











      • @schily Really? It works pretty well with ELF libraries as far as I can tell. And it's still used, ld.so relies on the cache built by ldconfig.
        – lgeorget
        May 10 '16 at 10:33










      • The Linux people hacked the old Sun linker source-code to support ELF. The new ELF implementation from Sun removed ldconfig in an agreement with AT&T as the linker caching was too sensitive to errors. Sun later added the tree stooges: moe, lari and crle as helper programs for ELF management.
        – schily
        May 10 '16 at 10:52












      up vote
      9
      down vote



      accepted







      up vote
      9
      down vote



      accepted






      ldconfig can list all the libraries it has access to. These libraries are also stored in its cache.



      /sbin/ldconfig -v -N will crawl all the usual library paths, list all the available libraries, without reconstructing the cache (which is not possible if you're a non-root user). It does NOT take into account libraries in LD_LIBRARY_PATH (contrarily to what this post said before edit) but you can pass additional libraries to the command line by using the line below:



      /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)





      share|improve this answer














      ldconfig can list all the libraries it has access to. These libraries are also stored in its cache.



      /sbin/ldconfig -v -N will crawl all the usual library paths, list all the available libraries, without reconstructing the cache (which is not possible if you're a non-root user). It does NOT take into account libraries in LD_LIBRARY_PATH (contrarily to what this post said before edit) but you can pass additional libraries to the command line by using the line below:



      /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)






      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited May 9 at 16:51









      Community

      1




      1










      answered May 10 '16 at 9:46









      lgeorget

      8,75622450




      8,75622450











      • ldconfig is a tool from the 1980s that was given up in the 1990s. For this reason, ldconfig is not portable as it only applies to implementations that are based on the SunOS-4.0 a.out based dynamic linker from 1987.
        – schily
        May 10 '16 at 10:00










      • How does that help listing libs which are only on LD_LIBRARY_PATH? I guess I could write a script to parse that and then read that through ldconfig, but it seems a bit like an over kill.
        – nbubis
        May 10 '16 at 10:10






      • 1




        @nbubis you can always pass the libraries in LD_LIBRARY_PATH to ldconfig. Like /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) not too much of an overkill to my taste.
        – lgeorget
        May 10 '16 at 10:32











      • @schily Really? It works pretty well with ELF libraries as far as I can tell. And it's still used, ld.so relies on the cache built by ldconfig.
        – lgeorget
        May 10 '16 at 10:33










      • The Linux people hacked the old Sun linker source-code to support ELF. The new ELF implementation from Sun removed ldconfig in an agreement with AT&T as the linker caching was too sensitive to errors. Sun later added the tree stooges: moe, lari and crle as helper programs for ELF management.
        – schily
        May 10 '16 at 10:52
















      • ldconfig is a tool from the 1980s that was given up in the 1990s. For this reason, ldconfig is not portable as it only applies to implementations that are based on the SunOS-4.0 a.out based dynamic linker from 1987.
        – schily
        May 10 '16 at 10:00










      • How does that help listing libs which are only on LD_LIBRARY_PATH? I guess I could write a script to parse that and then read that through ldconfig, but it seems a bit like an over kill.
        – nbubis
        May 10 '16 at 10:10






      • 1




        @nbubis you can always pass the libraries in LD_LIBRARY_PATH to ldconfig. Like /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) not too much of an overkill to my taste.
        – lgeorget
        May 10 '16 at 10:32











      • @schily Really? It works pretty well with ELF libraries as far as I can tell. And it's still used, ld.so relies on the cache built by ldconfig.
        – lgeorget
        May 10 '16 at 10:33










      • The Linux people hacked the old Sun linker source-code to support ELF. The new ELF implementation from Sun removed ldconfig in an agreement with AT&T as the linker caching was too sensitive to errors. Sun later added the tree stooges: moe, lari and crle as helper programs for ELF management.
        – schily
        May 10 '16 at 10:52















      ldconfig is a tool from the 1980s that was given up in the 1990s. For this reason, ldconfig is not portable as it only applies to implementations that are based on the SunOS-4.0 a.out based dynamic linker from 1987.
      – schily
      May 10 '16 at 10:00




      ldconfig is a tool from the 1980s that was given up in the 1990s. For this reason, ldconfig is not portable as it only applies to implementations that are based on the SunOS-4.0 a.out based dynamic linker from 1987.
      – schily
      May 10 '16 at 10:00












      How does that help listing libs which are only on LD_LIBRARY_PATH? I guess I could write a script to parse that and then read that through ldconfig, but it seems a bit like an over kill.
      – nbubis
      May 10 '16 at 10:10




      How does that help listing libs which are only on LD_LIBRARY_PATH? I guess I could write a script to parse that and then read that through ldconfig, but it seems a bit like an over kill.
      – nbubis
      May 10 '16 at 10:10




      1




      1




      @nbubis you can always pass the libraries in LD_LIBRARY_PATH to ldconfig. Like /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) not too much of an overkill to my taste.
      – lgeorget
      May 10 '16 at 10:32





      @nbubis you can always pass the libraries in LD_LIBRARY_PATH to ldconfig. Like /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) not too much of an overkill to my taste.
      – lgeorget
      May 10 '16 at 10:32













      @schily Really? It works pretty well with ELF libraries as far as I can tell. And it's still used, ld.so relies on the cache built by ldconfig.
      – lgeorget
      May 10 '16 at 10:33




      @schily Really? It works pretty well with ELF libraries as far as I can tell. And it's still used, ld.so relies on the cache built by ldconfig.
      – lgeorget
      May 10 '16 at 10:33












      The Linux people hacked the old Sun linker source-code to support ELF. The new ELF implementation from Sun removed ldconfig in an agreement with AT&T as the linker caching was too sensitive to errors. Sun later added the tree stooges: moe, lari and crle as helper programs for ELF management.
      – schily
      May 10 '16 at 10:52




      The Linux people hacked the old Sun linker source-code to support ELF. The new ELF implementation from Sun removed ldconfig in an agreement with AT&T as the linker caching was too sensitive to errors. Sun later added the tree stooges: moe, lari and crle as helper programs for ELF management.
      – schily
      May 10 '16 at 10:52












      up vote
      1
      down vote













      Globally substitute (space) for : with LD_LIBRARY_PATH



      /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)





      share|improve this answer


























        up vote
        1
        down vote













        Globally substitute (space) for : with LD_LIBRARY_PATH



        /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)





        share|improve this answer
























          up vote
          1
          down vote










          up vote
          1
          down vote









          Globally substitute (space) for : with LD_LIBRARY_PATH



          /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)





          share|improve this answer














          Globally substitute (space) for : with LD_LIBRARY_PATH



          /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH)






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 14 '17 at 19:38









          Stephen Rauch

          3,308101328




          3,308101328










          answered Dec 14 '17 at 19:17









          fizwit

          112




          112




















              up vote
              0
              down vote













              You can compile a simple test program with gcc and link your library. Then you can check the used libraries with ldd. I use something like this:



              echo "int main()" | gcc -Wl,--no-as-needed -lmylib /tmp/test.c && ldd a.out | grep mylib


              -Wl,--no-as-needed prevents the linker from discarding the library, because no symbols from the library are used.






              share|improve this answer








              New contributor




              guini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.





















                up vote
                0
                down vote













                You can compile a simple test program with gcc and link your library. Then you can check the used libraries with ldd. I use something like this:



                echo "int main()" | gcc -Wl,--no-as-needed -lmylib /tmp/test.c && ldd a.out | grep mylib


                -Wl,--no-as-needed prevents the linker from discarding the library, because no symbols from the library are used.






                share|improve this answer








                New contributor




                guini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.



















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  You can compile a simple test program with gcc and link your library. Then you can check the used libraries with ldd. I use something like this:



                  echo "int main()" | gcc -Wl,--no-as-needed -lmylib /tmp/test.c && ldd a.out | grep mylib


                  -Wl,--no-as-needed prevents the linker from discarding the library, because no symbols from the library are used.






                  share|improve this answer








                  New contributor




                  guini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  You can compile a simple test program with gcc and link your library. Then you can check the used libraries with ldd. I use something like this:



                  echo "int main()" | gcc -Wl,--no-as-needed -lmylib /tmp/test.c && ldd a.out | grep mylib


                  -Wl,--no-as-needed prevents the linker from discarding the library, because no symbols from the library are used.







                  share|improve this answer








                  New contributor




                  guini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  guini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered Nov 19 at 16:08









                  guini

                  1011




                  1011




                  New contributor




                  guini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  guini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  guini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f282199%2ffind-out-if-library-is-in-path%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown






                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Bahrain

                      Postfix configuration issue with fips on centos 7; mailgun relay