On Tue, 28 Sep 2004 19:01:04 +0800 Jim wrote:
JS> I  encountered one small problem. I installed net-snmp5.1.1 on my target
JS> machine before. Now I created a tar ball for net-snmp5.0.6 and untar on the
JS> target machine. There is still many soft links to libxxxxx.5.1.1 in the
JS> /usr/local/lib. Apparently I have to delete these files manually.

Mixing releases on a machine is strongly discouraged.


JS> My question is will these soft link to 5.1.1 be used at all? 

Yes, probably.

JS> Is it save to delete all the
JS> soft link and libxxx5.1.1 staff while I intend to use 5.0.6?

Yes, you'll just have to re-install it later if you want to use it.

JS> What can a
JS> person do to install the net-snmp and be sure these soft link created from
JS> previous installation are cleaned and the installation is clean?

It wasn't until recently that an uninstall target was added to the makefiles,
so for older releases (or binary releases), it is a manual procedure.


JS> Meaning by
JS> untar the tar ball to install a specific version but no other unwanted
JS> version left in the install path?  Is there an uninstall in net-snmp?

There is an uninstall target in the latest versions, but only if you still have
the build directory still around. We really should have an uninstall script
with the package, but we don't.


JS> a standard practice to uninstall one version first then install the
JS> different version? Please advise.

Well, usually one is just upgrading to a new version, not jumping back and
forth between versions.

If you really want to test multiple versions on the same host, I suggest
building all the applications with static libraries, to avoid shared library
conflicts. For executables built with net-snmp static libraries, use

        configure--with-ldflags=-Bstatic

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to