[Tutor] Compiling a program ::Embedding Python in C

Shadab Sayani shadabsayani at yahoo.com
Tue Feb 13 09:38:00 CET 2007

I am using FC3.
On issuing the command given by you I got the same
response.So how can I fix it?
My main line of execution is C.My intention is to use
python in C to do some operations.I have a main
function in C code.I want to compile it get its
executable and execute it to get the output which is
actually processed in python module.

--- Rikard Bosnjakovic <rikard.bosnjakovic at gmail.com>

> On 2/13/07, Shadab Sayani <shadabsayani at yahoo.com>
> wrote:
> [...]
> >
> > undefined reference to `dlerror'
> [...]
> You have not provided enough information for us to
> help you. What
> system do you use?
> It looks like a Unix-flavorish. Try issuing this:
> "nm
> /usr/local/lib/python2.4/config/libpython2.4.a |
> grep dlerror". Most
> likely you will get a line similiar to "U dlerror",
> which means that
> function / symbol is undefined on your system.
> But like I said, you need to provide more info for
> us.
> -- 
> - Rikard.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

Send instant messages to your online friends http://uk.messenger.yahoo.com 

More information about the Tutor mailing list