Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Fedora 15 x86_64 and have the Oracle 11 client installed, and have an /etc/ file configured so I can automatically pick-up the client shared object file. However Oracle also comes with other shared objects that I don't want to override the system libraries (libexpat in this case).

As there is no definition for /usr/lib64 in the files, how do I make it the first directory that searches for shared objects?

share|improve this question

You can add that definition in to /etc/ or to a file of your own name (I THINK it will pick them up alphabetically, you'll need to experiment) so /etc/ should be picked up first. Make sure you run /sbin/ldconfig after altering or adding the previous files.

As a last resort, you can use the LD_LIBRARY_PATH variable. There is some decent information here and here about why NOT to use that variable if you can help it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.