Solved

Shared Object Search Path

Posted on 1997-12-17
1
388 Views
Last Modified: 2007-02-13
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?
0
Comment
Question by:swlee
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 1634855
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

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question