not able to link ucdsnmp and snmpy

Discussion in 'Python' started by muttu, Dec 6, 2004.

  1. muttu

    muttu Guest

    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
    muttu, Dec 6, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Spencer

    Re: Link Link Link DANGER WILL ROBINSON!!!

    Kevin Spencer, May 17, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    818
    Kevin Spencer
    May 17, 2005
  2. Dan M
    Replies:
    5
    Views:
    421
  3. Andreas S.
    Replies:
    3
    Views:
    599
    Andreas S.
    Sep 3, 2006
  4. kolesdz
    Replies:
    9
    Views:
    530
    Blinky the Shark
    Aug 22, 2007
  5. sed_y
    Replies:
    0
    Views:
    1,013
    sed_y
    Feb 15, 2012
Loading...

Share This Page