dlsym() in libc vs libdl



On my S10 U-something system, dlsym() is defined in both libc and
libdl. Is there a difference between the two? The man page doesn't
say anything about linking with libdl, and on my system it works
correctly without it.

But my software has a reported bug whose symptom indicates that dlsym()
isn't working. I haven't yet been able to verify that that is indeed
what's going on, but Magic 8-Ball says "Signs point to yes".

'dis' can't find dlsym() for some reason so I can't easily take apart
the two libraries for comparison.

-frank
.



Relevant Pages

  • Re: dlsym() in libc vs libdl
    ... say anything about linking with libdl, and on my system it works ... But my software has a reported bug whose symptom indicates that dlsym() ... the two libraries for comparison. ...
    (comp.unix.solaris)
  • Ikarus -- MinGW
    ... I tried to build Ikarus on MinGW, ... checking for library containing dlsym... ... configure: error: Cannot find libdl ...
    (comp.lang.scheme)
  • Re: Ikarus -- MinGW
    ... checking for library containing dlsym... ... configure: error: Cannot find libdl ... I am not what people call a C wizard. ... to compile/run under windows. ...
    (comp.lang.scheme)
  • Re: LD_PRELOAD odd woes
    ... Paul Pluzhnikov wrote: ... > There are at least 2 fopens in libc: ... > Which version you actually get from dlsym() depends on your version ... Also, on my system, dlvsym is not even in the man pages, ...
    (comp.os.linux.development.system)