Issues with Python netsnmp Extension Module on Solaris 10

First of all I ran into an error when I tried running "python setup.py
build"
The main issue was that the cc command the build executed did not
include the correct include options to include the net-snmp header
files:
cc -DNDEBUG -O -xcode=pic32 -I/usr/local/include/python2.5 -c netsnmp/
client_intf.c -o build/temp.solaris-2.10-sun4u-2.5/netsnmp/
client_intf.o
"netsnmp/client_intf.c", line 3: cannot find include file:
net-snmp-config.h>
"netsnmp/client_intf.c", line 4: cannot find include file:
net-snmp-includes.h>

I manually added the needed include options as follows and the
compilation completed without error (though with many warnings):
cc -DNDEBUG -O -xcode=pic32 -I/usr/local/include/python2.5 -I../
include -c netsnmp/client_intf.c -o build/temp.solaris-2.10-sun4u-2.5/
netsnmp/client_intf.o

At this point I was able to successfully execute "python setup.py
install" as root and it appeared to run as expected without error

The issue I now have is when I try to import the module:
>>> import netsnmp
Traceback (most recent call last):
File "", line 1, in
File "build/bdist.solaris-2.10-sun4u/egg/netsnmp/__init__.py", line
1, in
File "build/bdist.solaris-2.10-sun4u/egg/netsnmp/client.py", line 1,
in
File "build/bdist.solaris-2.10-sun4u/egg/netsnmp/client_intf.py",
line 7, in
File "build/bdist.solaris-2.10-sun4u/egg/netsnmp/client_intf.py",
line 6, in __bootstrap__
ImportError: ld.so.1: python: fatal: relocation error: file /home//.python-eggs/netsnmp_python-1.0a1-py2.5-solaris-2.10-
sun4u.egg-tmp/netsnmp/client_intf.so: symbol timersub: referenced
symbol not found