![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Seeking Some libs for AIX 5.3 | eternalflame | High Level Programming | 0 | 04-02-2008 02:08 AM |
| who to compile needed libs with Make | umen | Shell Programming and Scripting | 0 | 05-01-2006 03:42 AM |
| dlopen failed! | virmin | High Level Programming | 1 | 10-30-2005 09:19 PM |
| dlopen issue with a dll | codeman | SUN Solaris | 0 | 07-05-2005 12:54 AM |
| compiling with include & libs | ls1429 | High Level Programming | 1 | 02-14-2002 11:03 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
default location of libs in dlopen
Hi
Where is the default location of libs to search, when we specify any lib in dlopen function. And if we want to specify a custom location, how will we do it? thanks. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
The location of libraries is specified by the linker at the time the file is linked.
Some environments support a SHLIB_PATH or LD_LIBRARY_PATH envionment variable - when you link with +s. This means dlopen will use /usr/lib first, then search through the directories speficed in the environment variable. try Code:
man ld Last edited by jim mcnamara; 11-18-2005 at 08:47 AM. |
|||
| Google The UNIX and Linux Forums |