By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,700 Members | 1,553 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,700 IT Pros & Developers. It's quick & easy.

not able to link ucdsnmp and snmpy

P: n/a
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
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.