Skip to content

Install on Debian 9 (x64) #129

@vlc33

Description

@vlc33

Compiling Vanity under Debian 9 (x64)

Hello I managed to compile Vanity from source , here is how I done it.

(1) problem with openssl 1.0 (old version not installed by default)
As 1st compiling raises problems, people said it was because the source depends con openssl 1.0 not actual openssl 1.1+
So I downloaded openssl-1.0 from source https://www.openssl.org/source/openssl-1.0.2s.tar.gz and installed it by default it installs under /usr/ssl so it does not interfere with distribution updated openssl (-> *see next comment to install it in /usr/local/ssl)
-> add to LIBS in Makefile
-> add to CFLAGS in Makefile

(2) problem with pcre (old version not installed by default)
normally pcre2 is installed, the old version in Debian is called pcre3 (yes) but you will also will need pcre3-dev to be installed.

(3) problem with ldl (openssl-1.0 needs it)
-> add to LIBS in Makefile

Makefile fixes:

LIBS= -ldl -lpcre -lcrypto -lm -lpthread -L/usr/local/ssl/lib -I/usr/lib
      ^--(3)                             ^--(1)

CFLAGS=-ggdb -O3 -Wall -I/usr/local/ssl/include -I/usr/include
                       ^--(1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions