[ Sorry for the delay in responding to this ]

> I'm trying to compile and install net-snmp on a Solaris system.
> I don't care > about the agent, all I need are the client tools
 
> I ran configure like this:
> ./configure --prefix=$HOME/fr/usr/local --exec-prefix=$HOME/fr/usr
>    --disable-agent
> 
> configure finished fine, and then after a while make choked on me,
> giving the following output:

> Undefined symbol                    first referenced in file
> run_exec_command                    ./.libs/libnetsnmptrapd.so
> init_agent                          snmptrapd.o
> convert_v1pdu_to_v2                 ./.libs/libnetsnmptrapd.so
        [etc,etc]

As Robert pointed out at the time, this is down to a missing library
(libnetsnmpmibs, and possibly libnetsnmpagent), which are part of the
agent subtree.  So things are failing because you explicitly configured
things to exclude the agent.

In fact, it's only the 'snmptrapd' application that relies on these
libraries, so if you removed $(INSTALLSBINPROGS) from the STANDARDTARGETS
definition (in the file 'apps/Makefile'), you'd probably find that
things compile OK.

Dave


-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
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

Reply via email to