Executing "   /export/home/rosent1/snmp/usr/local/bin/net-snmp-config  
--agent-libs" does show me the correct library path now.

Executing "which net-snmp-config" did return the incorrect net-snmp-config.

I believe due to me playing around with NetSNMP and having it installed it in a 
few different places (for learning purposes) it is now picking up wrong 
commands from different places.  Let me spend some time cleaning all this up 
and start over with one common "install directory" point and see what happens.

Thanks for the tips.



Dave Shield <[EMAIL PROTECTED]> wrote: On 16/07/07, Need Help  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


       
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. 
-------------------------------------------------------------------------
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