How do I compile this source or get vanitygen for linux?

Open source link: https://github.com/samr7/vanitygen

  • Have you tried simply running make in the root directory? If so, what errors did you receive?
    – Tony Rizko
    Commented Jan 27, 2018 at 11:42
  • Yes but it gave me 5 source code error such as link 54:14: field 'vxc_bntarg' has incomplete type bigbun
    – zhiyan114
    Commented Jan 27, 2018 at 13:57
  • I managed to fix it on older unintuitive but thx
    – zhiyan114
    Commented Jan 27, 2018 at 14:51
  • Use vanitygen-plus it is still active on GitHub.
    – Willtech
    Commented Apr 1, 2018 at 13:55
  • @zhiyan114 Sorry for the late reply. You must either use an older version of Vanitygen. Openssl 1.1 is not supported (use 1.0.something) or apply the patch here: github.com/exploitagency/vanitygen-plus/pull/56/files
    – MCCCS
    Commented May 1, 2018 at 14:46

2 Answers 2


How to compile:

  1. Download the source from Github.
  2. Run the ./configure file. (if it doesn't exist, type "./autogen.sh" first.)
  3. Type "make".
  4. Your program is ready.

I would suggest you use Bitaddress.org

its open source and secure without the need to install anything.

or you could do that using bitcoin-php library on PHP.

vanitygen is too old and never updated almost since 7 years.


Sorry for the previous suggestion, I thought bitaddress.org has that function.

vanitygen library that you mentioned is too old, you better use vanitygen-plus, it's up-to-date and supports bitcoin and alt-coins.

  • These do not perform the same function as vanitygen.
    – Willtech
    Commented Apr 1, 2018 at 11:14
  • Yeah, are right, as I remember they had that function. I have edited the answer.
    – Tailer
    Commented Apr 1, 2018 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.