Browse Source

README: recommend build-without-openssl.bash

For build.bash, list missing dependencies: gcc, pkg-config

Fixes https://github.com/rfjakob/gocryptfs/issues/575
libgocryptfs
Jakob Unterwurzacher 1 year ago
parent
commit
3dad9e0648
  1. 16
      README.md

16
README.md

@ -100,13 +100,19 @@ With go 1.11 or higher:
$ git clone https://github.com/rfjakob/gocryptfs.git
$ cd gocryptfs
$ ./build.bash
$ ./build-without-openssl.bash
build.bash needs the OpenSSL headers installed (Debian: `apt install libssl-dev`,
Fedora: `dnf install openssl-devel`). Alternatively, you can compile
without OpenSSL using
This will compile a static binary that uses the Go stdlib crypto backend.
$ ./build-without-openssl.bash
If you want to use the OpenSSL crypto backend (faster on
old CPUs lacking AES-NI), you have to install a few dependencies:
* Debian/Ubuntu: `apt install libssl-dev gcc pkg-config`
* Fedora: `dnf install openssl-devel gcc pkg-config`
Then, run:
$ ./build.bash
Use
---

Loading…
Cancel
Save