Kolesar wrote: > Thanks for answer > > I'm gave up from statically linked ldrmod :) > > But, now i have new problem :) > > Before dlopen(), i set LD_LIBRARY_PATH with putenv(), but i get error: > dlopen(sysnfop1s.so) error [2]: libdrmod.so: cannot open shared object file: > No such file or directory. > > How i can set library path where is located my library (libdrmod)? dlopen() takes a full pathname. dlopen("/lib/foo/bar.so"); Andrew.