Dinamic link?

Israel Fernández israel at seg.inf.cu
Thu Aug 29 17:19:23 BST 2002


Me again ;)
I'm doing this in a test app:
__________________________________________
#include <iostream.h>
#include <stdlib.h>
#include <unistd.h>
#include <dlfcn.h>

int main(int argc, char *argv[])
{
   void * handle = dlopen ("./libsh.so", RTLD_NOW);

  return EXIT_SUCCESS;
}
___________________________________________

and I get a: 
undefined reference to dlopen

is there any compiler/linker option that must be set on?

reg at rds
Israel


El Jue 29 Ago 2002 02:26 AM, escribió:
> On Wednesday 28 August 2002 19:39, you wrote:
> > Heyyy! is a nice argue but nobody answer me, I read something about a
> > dlopen in a message and I hope man pages may help.
> > Now, can I use a class defined in a shred object linked dinamicaly, just
> > as I do with a static one?
>
> Sorry for our ignorance :)
>
> http://www.linuxjournal.com/article.php?sid=3687
>
> oliver
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body: unsubscribe
> »your-email-address«

-- 
S at lu2
Israel Farnandez Cabrera


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list