Re: Statically linked shared library

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

 



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.

[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