Hello All,
I successfully compiled the latest version of net-snmp-5.7.3. I also
installed the Python bindings. When dropping into the Python
interpreter from the Desktop and then trying to "import netsnmp" I
receive the following error: 
        Python 2.7.6 (default, Mar 22 2014, 22:59:56)  [GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import netsnmp
/usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: 
/home/loser_user/.python-eggs is writable by group/others and
vulnerable to attack when used with get_resource_filename. Consider a
more secure location  (set with   .set_extraction_path or the
PYTHON_EGG_CACHE environment variable). warnings.warn(msg,
UserWarning) Traceback (most recent call last):  File "", line 1, in  
File "build/bdist.linux-x86_64/egg/netsnmp/__init__.py", line 1, in 
File "build/bdist.linux-x86_64/egg/netsnmp/client.py", line 1, in 
File "build/bdist.linux-x86_64/egg/netsnmp/client_intf.py", line 7, in
 File "build/bdist.linux-x86_64/egg/netsnmp/client_intf.py", line 6,
in __bootstrap__ ImportError:
/home/loser_user/.python-eggs/netsnmp_python-1.0a1-py2.7-linux-x86_64.egg-
  tmp/netsnmp/client_intf.so: undefined symbol: netsnmp_memdupI am
using Ubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux. 
I read in the FAQ that this kernel version is not supported for Linux
as only 2 point something versions are currently supported. However I
was able to get the software to install when adding the perl dev
dependencies with the apt-get tool.
Please see my post on stackoverflow dot com:
http://stackoverflow.com/questions/27631684/python-2-bindings-net-snmp-error-undefined-symbol-netsnmp-memdup
Is there anyway I can get this software to work? I am trying to code
some Python with the netsnmp module. 
Thanks for reading this! 
Happy Coding,
user_loser
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to