README: recommend build-without-openssl.bash

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

This commit is contained in:
Jakob Unterwurzacher 2021-06-08 09:55:04 +02:00
parent 14d422dc9c
commit 3dad9e0648
1 changed files with 12 additions and 6 deletions

View File

@ -100,14 +100,20 @@ With go 1.11 or higher:
$ git clone
$ cd gocryptfs
$ ./build.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
$ ./build-without-openssl.bash
This will compile a static binary that uses the Go stdlib crypto backend.
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