Thank you. Let me be specific. I have downloaded NET-SNMP version: 5.7.2.rc1.tar.gz and installed with "make install" in "Ubuntu 12.04" Now I want to use same installation in linux "Linux manage 2.6.39.4-1smp #16 SMP Thu Jul 19 13:37:54 IST 2012 i686 unknown" As "chroot" mode. So that I have copied all the needed files in that machine and as well as system libs with desired locaton. (No make install in my linux machine) So My question is do I need .lo files (after installation or I can just remove them same as .c , .o files)in this packaging or just .so files ? I found .so files in /agent/.libs folder also Are they useful because I found some of the same files in /usr/local/lib filder also. As well as all other .so files are created from libnetsnmpagent.so.30.0.2 so Do I need all these ? Or just one of them.
-----Original Message----- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: 31 December 2012 18:04 To: Jatin Bodarya Cc: net-snmp-users@lists.sourceforge.net Subject: Re: net-snmp packaging. On 31 December 2012 05:10, Jatin Bodarya <jatin.boda...@elitecore.com> wrote: > I have manually installed NET-SNMP version: 5.7.2.rc1.I have done net-snmp > packaging for my Linux machine as I want to run it as root mode. What type of Linux distribution is this? More specifically, what type of packaging are you trying to create? If this is a RedHat-like system, and uses RPMs, then you might like to look at the spec file that we ship as part of the source tarball. It might need a bit of tweaking to match your specific requirements, but would seem a sensible starting point. If you're using a Debian/Ubuntu system, then I believe they use a different packaging mechanism. I've been out of the project for a while, so couldn't really say whether there's anything similar for that. > My question is Do I need "agent" and "perl " folder in this packaging ? You basically need anything that is put into place by "make install" That includes the binaries, shared libraries, etc. > Do I need .lo files for responding particular "snmpwalk"? If I'm remembering correctly, .lo files are part of the *pre*-install environment, and are used to pick up the real binaries/shared libraries from their hidden locations when running within the build tree. When you run "make install", then these temporary files will be replaced by the final versions. You must run "make install" (or equivalent) - you cannot simply copy the .lo files, etc from a build tree, and expect everything to work. > I have seen libnetsnmpagent.so , libnetsnmpagent.so.30 , > libnetsnmpagent.so.30.0.2 libnetsnmpagent.so.30.0.2T this kind of series in > all .so file ... Do I need all these for my packaging ? Yes - there are the files that you need for a working setup. Note that 'libnetsnmpagent.so.30.0.2' is the only one of these that you need to install explicitly - the other files are links to this one, and will be created automatically as part of the install process. See the RPM spec file for more details. Dave ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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