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

Rikard Bosnjakovic rikard.bosnjakovic at gmail.com
Tue Feb 13 09:05:09 CET 2007


On 2/13/07, Shadab Sayani <shadabsayani at yahoo.com> wrote:

[...]
> /usr/local/lib/python2.4/config/libpython2.4.a(dynload_shlib.o)(.text+0x1f6):Python/dynload_shlib.c:133:
> 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.


More information about the Tutor mailing list