Dinamic link?

Amit Upadhyay upadhyay at me.iitb.ac.in
Thu Aug 29 17:28:51 BST 2002


hi,

$ gcc -rdynamic -o foo foo.c -ldl

is needed for compilation/linking. What are you using?

regards,
amit 

On Thursday 29 Aug 2002 9:55 pm, you wrote:
> 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«

-- 
Amit Upadhyay
Senior Undergraduate Student
Department of Mechanical Engg.
Indian Institute of Technology Bombay
Mumbai-76, India
Phone: (91) 9820325940 


-
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