On Tue, Aug 10, 2010 at 8:41 AM, Edwin Eyan Moragas <[email protected]> wrote: > taking another stab at my problem... > > is ld(1) necessary for dlopen(3) to work?
The shared object that you're opening with dlopen() needs to be generated using ld (or cc, which will invoke ld). On the ELF platforms that us normally done using the -shared option, though there are other combos that work. If you're asking whether ld needs to be present when dlopen() is actually called, the answer is no. That said, it sounded like your problem was one of having dlopen() actually find the shared object. If the path you give dlopen() doesn't contain a slash, then it will _not_ normally search the current directory. Perhaps you should pass dlopen() an absolute path? Philip Guenther

