Link problems embedding python in Linux. HELP!

Martin von Loewis loewis at informatik.hu-berlin.de
Fri Dec 8 15:55:27 EST 2000


jvanar1 at my-deja.com writes:

> I've read every resource available, but nothing tells me what to link
> with. here is my compilation line:
> 
> gcc -o go -lpython1.5 -L/usr/lib/python1.5 go.c

The order of libraries on the linker line is relevant; place
-lpython1.5 after go.c.

Hope this helps,
Martin



More information about the Python-list mailing list