Menu

Compiling

Bogdan Drozdowski

Read the info documentation (type 'info doc/libsecrm.info') to always get the current information.

LibSecRm, in various versions, has been successfully compiled on the following systems:

  • Fedora Core 4 GNU/Linux, i686
  • Fedora 12 GNU/Linux, i686
  • Mandriva 2008.1, 2011 (gcc 4.6.1) GNU/Linux, i686
  • OpenMandriva 3.0, 4.2, 4.3 (gcc 11.2.0) GNU/Linux, amd64
  • OpenBSD 3.8, i586
  • Debian 5.0 GNU/Linux, i686
  • Ubuntu (amd64 CPU) as provided by Travis CI: log (See Travis (.com) branch status)
  • FreeBSD as provided by Travis CI: log (See Travis (.com) branch status)
  • macOS as provided by Travis CI
  • Oracle Solaris 11.4 Build 15 (SunOS 5.11) (gcc 7.3.0), amd64

Codacy Badge

CodeQL Semgrep SonarCloud analysis

SonarCloud
Security Rating Maintainability Rating Reliability Rating Vulnerabilities Bugs Coverage

Requirements for compiling:

  • a working C compiler (C++ compilers won't work due to variable casts)
  • development package for the C library (like glibc-devel and glibc-headers)
  • libdl, the dynamic loading library, with its development package (unless the required functions are in the C library)
  • the 'make' program

Type ./configure to configure the library for your system.
Type make to compile the program.
Type make install to install the program. NOTE: 'make install' is NOT recommended. Create and install an RPM package instead, if possible.

The following method names are available:

  • Gutmann (method similar to Gutmann's, the default, 36 passes)
  • random (shred-like, 25 passes)
  • Schneier (Shneier's method, 7 passes, contains ITSG-06)
  • DoD (DoD, 3 passes, contains NAVSO P-5239-26 and German Federal Office for Information Security)

Related

Wiki: Home