not able to link ucdsnmp and snmpy

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,167
Latest member
SusanaSwan
Top