Shared Object Search Path

I have a simple question about how linux searches shared objects. I made some lib*.so files and want to put them all in one directory other than /lib or /usr/lib. I know that, in Solaris, we only need to add the path to the directory to LD_LIBRARY_PATH. But seems like this isn't the way it works in linux. How to do this in Linux?
swleeAsked:
Who is Participating?
 
ahoffmannConnect With a Mentor Commented:
Have you tried  LD_AOUT_LIBRARY_PATH ?

Also keep in mind that your executable may restrict searching shared objects, check with: ldd your_program
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.