This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lib path


Hi Bansidhar,

When the program is run, the location of the shared library should be locatable by the user's LD_LIBRARY_PATH environment variable.

Alternatively, the location of the shared library should be "cooked" into the application by the -rpath switch (either an absolute location, or a relative location) during link time.

HTH,
--Eljay



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]