Re: dynamical library loading

Glynn Clements (
Fri, 23 Apr 1999 11:16:25 +0200 (GMT--1:00)

M. Mederer wrote:

> I want to know in what library the functions ldopen and ldsym are.

I presume that you mean dlopen and dlsym ...

> I have the right header-files ( ldfcn.h ),

... and dlfcn.h

> but when I compile my program
> an error appears when egcs tries to link.

You need to add -ldl to the link command.

Glynn Clements <>

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to