On 25/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > In one of the example Makefiles, it points to libraries that are > referenced in net-snmp-config labeled NSC_BASE_SUBAGENT_LIBS which is > assigned the value "-lnetsnmpagent -lnetsnmphelpers - lnetsnmp". So when > I attempt to build, it can't find these libraries anywhere.
When you compile the main Net-SNMP code, it will create libraries "libnetsnmpagent", "libnetsnmphelpers" and "libnetsnmp". These are then installed into the appropriate lib directory (as part of "make install"). When the C compiler sees an option "-lsomething", it will strip off the "-l" and replace it with "lib". It then searches the list of standard library directories for the file "libsomething". This is not specific to the Net-SNMP project - it's standard to how all C compilers work. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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
