> 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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to