FAQ:Compiling 05

From Net-SNMP Wiki
Revision as of 21:55, 25 October 2006 by Dts12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

What about a failed dependency on 'libcrypto'? Where can I get that?

This is typically encountered when installing a Linux RPM of the ucd-snmp package. This library is part of the 'openssl' suite, so simply install that RPM first, or download the source from ftp://ftp.openssl.org and compile and install that.

When compiling {UCD,Net}-SNMP from source, the configure script should detect that this library is not present, and use alternative arrangements for MD5-based authentication.

If encryption (or SHA1-based authentication) is required, then this typically requires compiling from source. Under Linux, both the 'openssl' and 'openssl-devel' RPMs should be installed, and the 'config.cache' file removed before running "configure --with-openssl" and re-compiling.

   FAQ:Compiling
   
  1. How do I control the environment used to compile the software?
  2. How do I control the environment used to compile the software under Windows?
  3. Why does the compilation complain about missing libraries?
  4. How can I reduce the memory footprint?
  5. How can I reduce the installation footprint or speed up compilation?
  6. How can I compile the project for use on an embedded system?
  7. How can I compile the project to use static linking?
  8. Why does 'make test' skip various tests?
  9. Why does 'make test' complain about a pid file?