LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   adding a bulit in library to my library (https://www.linuxquestions.org/questions/linux-software-2/adding-a-bulit-in-library-to-my-library-243708/)

lg3 10-17-2004 06:34 AM

adding a bulit in library to my library
 
hi all,

actually i created a dynamic library in linux by using my application .
But my application is using another library.
Is there any way to add the bulitin libray in my library.

whenever i want to execute i have to call both these libraries.
But i want to call my library with the existing library.

Is there any way to add the library in another user library.


thanx in advance,
g3

320mb 10-17-2004 09:19 AM

you might try adding your library to your $PATH

The global paths are stored in /etc/profile file and user-specific paths (if user wants to add some specific path), are stored in .[user's shell](rc) file in the users home directory
(IE.......~/<user>/.bashrc)
Code:

export PATH=$PATH:/my/new/library


All times are GMT -5. The time now is 07:09 AM.