Find the answer to your Linux question:
Results 1 to 2 of 2
What is the correct method to set LD_LIBRARY_PATH?? Should an export command be used to indicated paths , OR should it only be set in /etc/ld.so.conf.d directory and then use ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Location
    Bismarck, North Dakota USA
    Posts
    3

    LD_LIBRARY_PATH - Correct way to set this.

    What is the correct method to set LD_LIBRARY_PATH?? Should an export command be used to indicated paths , OR should it only be set in /etc/ld.so.conf.d directory and then use the ldconfig to refresh???

    Please any very experienced Suse Linux user, i could use your opinion. Thanks.

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Ft. Polk, LA
    Posts
    796
    For numerous reasons, refrain from usingg LD_LIBRARY_PATH for almost all things. ld.so.conf is the proper way to set lib paths. Search google for LD_LIBRARY_PATH and you'll find out why.

Posting Permissions

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