-lModules -lPython -lObjects -lParser
Martin v. Loewis
martin at v.loewis.de
Mon May 20 17:05:23 EDT 2002
Anton Graph <""aglyport\"@n-o.s,p/a__m.yahoo.com> writes:
> g++ -V 2.95.3 -g -o metadb metadb.o metaadb.o metaddl.o metapy.o
> i386-linux.o -L/usr/local/lib/python2.2/config -lpython2.2 config2.o
> -lpthread -ldl -lutil -lm
[...]
> What am I doing wrong?
You need to pass config2.o before -lpython2.2. The linker processes
input from left to right.
Regards,
Martin
More information about the Python-list
mailing list