views:

38

answers:

2

Hi.
I am exploring the usage of dynamic stuff. So far My program (main.cpp) doesnt want to compile, becouse dlopen&Co are "unresolved". I DID include dlcfn.h.

I need the answer as soon as possible, becouse I have to go home in 30mins(doing rapidly other stuff also).

The correct error message might be "undefined", but this is not my computer.

+2  A: 

when linking you have to link in libdl using something like

gcc -o [my_target] [my_objects] -ldl

doron
+4  A: 

You have link problem - link with -ldl

dimba