M
muttu
hi there
i am trying to build snmpy over ucdsnmp and i am facing the problem in
linking of ucdsnmp and snmpy *.so files.
i am sending the steps what i have done till now
i build the ucdsnmp first in the following order
a) ./configure
b) make
c) make install
after i did all these libsnmp.a ,libsnmp.so and some other *.so
files got created in the /usr/local/lib
Then i built the snmpy-alpha-4 in the follwing order
i ran the setup.py build
so it created the snmpy.so
which i am not sure whether it has got linked with ucdsnmp or not.
Now with my python script when i try to import this snmpy am getting
the following error.
ImportError: /usr/local/lib/python2.4/site-packages/snmpy.so:
undefined symbol: get_symbol
but when i saw the code , get_symbol function is defined in mib.c of
ucdsnmp,and being called in snmpymodule.c of snmpy-alpha-4, but still
its giving undefined symbol.
Now is it because it hasnt got linked with the libsnmp.so(ucdsnmp's
library)
or is it because of some other problem.
please help me in this.
thanks in advance
muttu
i am trying to build snmpy over ucdsnmp and i am facing the problem in
linking of ucdsnmp and snmpy *.so files.
i am sending the steps what i have done till now
i build the ucdsnmp first in the following order
a) ./configure
b) make
c) make install
after i did all these libsnmp.a ,libsnmp.so and some other *.so
files got created in the /usr/local/lib
Then i built the snmpy-alpha-4 in the follwing order
i ran the setup.py build
so it created the snmpy.so
which i am not sure whether it has got linked with ucdsnmp or not.
Now with my python script when i try to import this snmpy am getting
the following error.
ImportError: /usr/local/lib/python2.4/site-packages/snmpy.so:
undefined symbol: get_symbol
but when i saw the code , get_symbol function is defined in mib.c of
ucdsnmp,and being called in snmpymodule.c of snmpy-alpha-4, but still
its giving undefined symbol.
Now is it because it hasnt got linked with the libsnmp.so(ucdsnmp's
library)
or is it because of some other problem.
please help me in this.
thanks in advance
muttu