Alexander Hansen wrote: >> I can confirm that the patch worked for me :) Thanks Martin. >> >> Now, if I type "snmpget --version", I get: >> -bash: /usr/bin/snmpget: no such file or directory. >> >> But if I type "/sw/bin/snmpget --version", I get: >> NET-SNMP version: 5.4.1 >> >> I don't quite understand the difference here, especially sinch "which >> snmpget" yields: >> /sw/bin/snmpget >> >> I guess it is some left of binaries/libraries from the original 5.2.1 >> installation in /usr/ >> How do I get rid of that older version? >> Is there a "proper" way to get rid of these Apple provided packages? >> >> > The "proper" thing to do is NOT TO TOUCH THE SYSTEM FILES! > > (Had to emphasize that.) > > That's why we stash everything by default in a tree that nobody else > uses, and set the PATH so that Fink's stuff comes first. > > Your message suggests that you've already removed Apple's snmpget, and > that your shell session hasn't rebuilt its lookup hash table. If I'm > right, and if you haven't _deleted_ the old file, put it back. >
Yep, you guessed right. I moved all the "system" snmp libraries and binaries out of the way when trying to resolve the ld library issues. I moved them back and typed "hash -r" in my bash shell and now everything works as expected :) Now moving on to python module builds. Thanks for all your help Alexander and Martin. Have a great Christmas and/or holiday season to you all. Brendan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
