-
Notifications
You must be signed in to change notification settings - Fork 631
Installation
Wikinaut edited this page May 12, 2018
·
5 revisions
- apt install build-essential git libssl-dev libpcre-dev
- make
Arch and Debian 10 currently have two versions of OpenSSL: 1.0 and 1.1. The compilation will fail as vanitygen expects version 1.0 but 1.1 will be picked up by default.
It is necessary to pass arguments to the compiler and linker such that OpenSSL-1.0 is used.
- Add
-I/usr/include/openssl-1.0
toCFLAGS
- Add
-L/usr/lib/openssl-1.0
toLIBS
debian 10:
Temporarily install OpenSSL 1.0 headers:
sudo apt-get install libssl1.0-dev -y
and change in Makefile
the first two lines to
LIBS=-L/usr/lib/openssl-1.0 -lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -O3 -Wall -I/usr/include/openssl-1.0
Run make
. After compilation, it may be a good practice to re-install the correct openssl:
sudo apt-get install libssl-dev -y