On 5/17/07, Wes Hardaker <[EMAIL PROTECTED]> wrote: > >>>>> "GSM" == G S Marzot <[EMAIL PROTECTED]> writes: > > GSM> hmmm...if you had done a full install of the net-snmp package I > GSM> think ldconfig should have been run for you. > > For the record, if you do a make install from the net-snmp directory, > the build system does *NOT* run ldconfig. It prints a very big > warning (libtool does, actually) but it doesn't run it. If you > install from rpms, or likely from other package management tools, most > of those should run ldconfig for you (assuming they were written right).
That is good to know. I just exported LD_LIBRARY_PATH=/usr/local/lib and then put it in /etc/profile which works for me. On this subject, do you think it would be possible to decouple the net-SNMP core and the python bindings at all? The reason I ask is that the preferred python module installation method is to use something called "easy_install" which is somewhat similar to CPAN with Perl. http://peak.telecommunity.com/DevCenter/EasyInstall At that point new eggs can be placed here: http://cheeseshop.python.org/pypi On the testing and code I have written so far with the Python bindings, it just works. The tracebacks are a little vague, but if you use snmpget and multiple values are returned then you will get a strange, vague error. The other weird error issue that I already posted is when I try to get a Mac Address by using something like: var = netsnmp.Varbind('ipNetToMediaPhysAddress') I get back what appears to be an Octal String and not a Hex String and the : is substituted with / I can fix this by using a regular expression and conversion, but it also means I have to convert it to a list as a tuple is immutable, etc. Was there a reason for this? As I prefer the default net-SNMP value which is a Hex String and what most people are used to when they refer to a Mac Address. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders