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.