I have an app that uses dlsym() to lookup functions and then executes
them. Usually, the function being lookedup is in the system libraries
(i.e., libc) - i.e., it is a normal function, like read() or write(),
etc. However, sometimes, the function being lookedup is actually in the
app itself - i.e., we use the dlsym mechanism to invoke a "local"
The former case works fine in all 3 OSs, but...
The later case (where the function is in the app itself) works fine in
Linux and Solaris, but fails (the dlsym() function fails with a "symbol
not found" error) in MacOSX.
Any ideas why? How to fix?
Just for a change of pace, this sig is *not* an obscure reference to