![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to read the relative path | priyanka3006 | Shell Programming and Scripting | 5 | 07-31-2009 08:53 AM |
| Help with absolute path and relative path | mzero | UNIX for Dummies Questions & Answers | 1 | 03-02-2009 10:29 AM |
| Finding relative path of a file | chiru_h | Shell Programming and Scripting | 4 | 04-16-2007 09:20 PM |
| getting full path from relative path | polypus | Shell Programming and Scripting | 4 | 03-25-2007 01:08 PM |
| vi - replacing a relative path with absolute path in a file | Yinzer955i | UNIX for Dummies Questions & Answers | 2 | 09-07-2006 12:47 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Linkers and Loaders: how to (if possible) specify relative path for shared library to the loader
Hi,
first of all I apologize if this is not the right section to post this question, but I didn't know where else to post it. I've developed an application which uses a shared library developed by me. Basically I want to give both the application and the shared library without the source, and avoiding any installation process. What I'd like to achieve is to provide a zip packet, which when unpacked, without doing anything else, can run the application right away. My problem is how to tell the loader to look for the shared library used in a relative path (perhaps the same of the application (working directory). Usually you have to tell the loader which directory to look for for the library you want to use, by listing the directory in its .conf file (ld.so.conf), but I want to avoid this. Is this possible to do? If so, how? The working environment is of course Linux. Any hint would be appreciated. Regards, S. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|