Re: Statically linked shared library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kolesar wrote:

> Set LD_LIBRARY_PATH before start application is not good solution for my
> problem, because it is a problem for users.

That doesn't make any sense.  It's a well-tried technique
used by many programs that works.

> I try with execv, but i do not solved my problem :-(

Well, it works for everyone else.

> I try -rpath too, but, i do not understand howto exactly work -rpath.
> :confused:

gcc -Wl,-rpath,/path/to/directory/that/contains/your/library

See the rpath option in man ld.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux