On Sat, 12 Mar 2005 12:37:03 +0300 Peter wrote: PVS> I'm trying to build minimal agent, that will only monitor cpu/memory and PVS> interfaces usage. The size of the built package is critical, so, I'd PVS> prefer to not include deps like librpm etc.
PVS> make && make install INSTALL_PREFIX=/home/peet/bala PVS> PVS> And results: PVS> PVS> [EMAIL PROTECTED] net-snmp-5.2.1]$ ldd /home/peet/bala/usr/sbin/snmpd PVS> libnetsnmpmibs.so.5 => /usr/lib/libnetsnmpmibs.so.5 (0x00128000) Note that you are picking up the system shared libraries in /usr/lib, and not your custom ones in /home/peet. Try poking about in the ld man pages to set an environment variable to pick up your libraries first (something like LD_RUN_PATH, or something like that). -- Robert Story; NET-SNMP Junkie Support: <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. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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