Hello

Can someone help me with this please?  I am trying to install snmp using the tarball   net-snmp-5.9.5.2.tar.gz    downloaded from    net-snmp.org.

I extract the tarball, then execute      ./configure --with-sys-contact="contact"

which gives the summary:

---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  SNMP Versions Supported:    1 2c 3
  Building for:               linux
  Net-SNMP Version:           5.9.5.2
  Network transport support:  Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase IPBase IPv6Base
  SNMPv3 Security Modules:     usm
  Agent MIB code:            default_modules =>  snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
  MYSQL Trap Logging:         unavailable
  Embedded Perl support:      disabled
  SNMP Perl modules:          building -- not embeddable
  SNMP Python modules:        disabled
  Crypto support from:        use_pkg_config_for_openssl
  Authentication support:     MD5
  Encryption support:
  Local DNSSEC validation:    disabled

---------------------------------------------------------

That seems OK (to me, at least), but when I execute     ./make  I get this error message (after heaps of other apparently error-free stuff)

/usr/bin/ld: cannot find -lperl: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1008: libnetsnmpagent.la] Error 1
make[1]: Leaving directory '/home/john/Downloads/net-snmp-5.9.5.2/agent'
make: *** [Makefile:672: subdirs] Error 1

How to I solve this??  I checked that I have perl installed (but indeed, there is no /usr/bin/ld file (?) named -lperl)

I am running Linux Mint 22.3 with linux kernel 6.8.0-134-generic.

Any help much appreciated!

John


--
sent from Inspiron3881-mozilla


_______________________________________________
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

Reply via email to