On 16/07/07, Need Help <[EMAIL PROTECTED]> wrote:
> Here is the output of the "net-snmp-config --base-cflags" command:
>
> -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -I/usr/local/include
>
>
>  Here is the output of the "net-snmp-config --agent-libs" command:
>
> -L/usr/local/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp
> -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm
>
>
> ** Ok, I see that the library path is set to be "/usr/local/lib", so is this
> why compiling the subagent is looking in the "/usr/local/lib" directory?


Yup.


> Why would the "net-snmp-config" command indicate the library path is
> "/usr/local/lib" when the "configure" command used to configure the snmpd
> master agent included the following option:
>
>     "--prefix=/export/home/rosent1/snmp/usr/local"

The only thing that springs to mind is that there might be another version
of the Net-SNMP software installed on your build system, and you're picking
up that version of the net-snmp-config command instead.

What does

   /export/home/rosent1/snmp/usr/local/bin/net-snmp-config  --agent-libs

report?
What does

   which net-snmp-config

report?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to