[wxPython] Compilation/Linking problems

Hello,

I am having some dynamic linking problems while trying to setup wxPython.
This is the environment:

FreeBSD 4.2 i386
GCC v3.0.3
Python 2.2.1
GTK 1.2.10
wxGTK 2.3.2
wxPython 2.3.2.1

Compilation goes through fine, when i try to dun the demo, i end up getting an
unresolved symbol _Znaj.

Would really appreciate any pointers on this,

Thanks
santosh