"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> This works for me on Redhat 9: >> >> g++ x.cpp -o x -I/usr/include/python2.2 -pthread -lm >> -ldl -lutil /usr/lib/python2.2/config/libpython2.2.a >> > > Why did you chose the static variant? This should be equivalent: > > g++ x.cpp -o x -I/usr/include/python2.2 -pthread -lm > -ldl -lutil -lpython2.2 > > -- > Regards, > > Diez B. Roggisch
On my system, for whatever reason, the .so library isn't present. I have the python-devel package installed. -Mark -- http://mail.python.org/mailman/listinfo/python-list