[Bug c/39130] [libdl] (Now and then) dynamic loading/un-loading of shared libraries not happening

ykalidas at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 8 06:47:00 GMT 2009

------- Comment #4 from ykalidas at gmail dot com  2009-02-08 06:47 -------

when i change the libkali.so.1 and libkali.so in ./shared/ to point to either
of the libraries lib1.so.1.0 or lib2.so.1.0,

the program run only one of the codes to which it pointed earlier.

#ln -sf `pwd`/lib1.so.1.0 shared/libkali.so; ln -sf `pwd`/lib1.so.1.0
#./progdl would STILL INVOKE fun() in lib2.so.1.0 EVEN IF THE FILE IS REMOVED.



More information about the Gcc-bugs mailing list