dlopen() is native on Linux and Solaris. If it's just Mac OS X that you're worried about, there's also dlcompat().
http://www.opendarwin.org/projects/dlcompat/ To support Windows, HP-UX, and others, you are correct that libtool or glib will be appropriate. Here's a good HOWTO on the subject (mostly for dlopen, though) http://www.dwheeler.com/program-library/Program-Library-HOWTO/index.html AFAICT, nobody supports Mac OS X natively; dlcompat() seems widely used. I'm still skeptical about becoming dependant upon glib, so I'd prefer to see libtool's ltdl used. They appear to be equivalently featureful. Additionally, because libtool makes generating shared libraries a breeze, it is likely that you'll need it for your libdbmail.so project anyways. Aaron Dan Weber <[EMAIL PROTECTED]> said: > > I am trying to decide which to use for dynamic library loading. The > choices are glib's interface, or libtool's interface (ltdl). The > standard dlopen() is not very portable (e.g. it doesn't exist on > macosx). Both provide nice interfaces, someone give me some feedback. > > Dan Weber --