Quote:>If I understand your question correctly, there are two options.
>First, you could hack your ld.so to deal with symbols that may or may not
>be defined in a .so.
...or you could just use the facility that most "ld.so"s already have,
namely "dlopen()" and "dlsym()" (the latter deals with symbols that
aren't defined by returning NULL).
Not all UNIXes have "dlopen()", "dlsym()", and company, although I
suspect the few modern UNIXes that are holdouts will add it (either by
adding dynamic linking features, or adding "dlopen()"/"dlsym()"/etc.
calls to their existing dynamic linking mechanisms).
If you have a non-modern UNIX, you may have to grab "dld".
--
Reply, or follow up, but don't do both, please.