Statically linked shared library
Andrew Haley
aph@redhat.com
Mon Mar 16 15:20:00 GMT 2009
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.
More information about the Gcc-help
mailing list