Open underattach opened 2 years ago
same on
git clone https://github.com/samr7/vanitygen
cd vanitygen
wget https://github.com/openssl/openssl/archive/refs/tags/OpenSSL_1_0_2u.tar.gz
tar xf OpenSSL_1_0_2u.tar.gz
rm OpenSSL_1_0_2u.tar.gz
cd openssl-OpenSSL_1_0_2u/
./configure --prefix=~/Documents/openssl1.0
make
make test
make install
cd ..
CPATH=~/Documents/openssl1.0/include LIBRARY_PATH=~/Documents/openssl1.0/lib make
but then I get new and different errors:
~/Documents/vanitygen$ CPATH=~/Documents/ssl1.0/include/ LIBRARY_PATH=~/Documents/ssl1.0/lib/ make
cc -ggdb -O3 -Wall -c -o pattern.o pattern.c
cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread
/usr/bin/ld: ~/Documents/ssl1.0/lib/../lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_globallookup':
dso_dlfcn.c:(.text+0x17): undefined reference to `dlopen'
/usr/bin/ld: dso_dlfcn.c:(.text+0x2a): undefined reference to `dlsym'
/usr/bin/ld: dso_dlfcn.c:(.text+0x35): undefined reference to `dlclose'
/usr/bin/ld: ~/Documents/ssl1.0/lib/../lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x367): undefined reference to `dlsym'
/usr/bin/ld: dso_dlfcn.c:(.text+0x432): undefined reference to `dlerror'
/usr/bin/ld: ~/Documents/ssl1.0/lib/../lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x4b3): undefined reference to `dlsym'
/usr/bin/ld: dso_dlfcn.c:(.text+0x582): undefined reference to `dlerror'
/usr/bin/ld: ~/Documents/ssl1.0/lib/../lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_load':
dso_dlfcn.c:(.text+0x5ec): undefined reference to `dlopen'
/usr/bin/ld: dso_dlfcn.c:(.text+0x655): undefined reference to `dlclose'
/usr/bin/ld: dso_dlfcn.c:(.text+0x695): undefined reference to `dlerror'
/usr/bin/ld: ~/Documents/ssl1.0/lib/../lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x736): undefined reference to `dladdr'
/usr/bin/ld: dso_dlfcn.c:(.text+0x7a7): undefined reference to `dlerror'
/usr/bin/ld: ~/Documents/ssl1.0/lib/../lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_unload':
dso_dlfcn.c:(.text+0x808): undefined reference to `dlclose'
collect2: error: ld returned 1 exit status
make: *** [Makefile:9: vanitygen] Error 1
Eventually, I did this:
git clone https://github.com/10gic/vanitygen-plusplus
cd vanitygen-plusplus
make
./vanitygen++ 1test
Tried vanitygen-plusplsu and get this...
vanitygen.c: In function ‘main’:
vanitygen.c:397:14: warning: variable ‘coin’ set but not used [-Wunused-but-set-variable]
397 | const char *coin = "BTC";
| ^~~~
cc -ggdb -O3 -Wall -Wno-deprecated -c -o pattern.o pattern.c
pattern.c:32:10: fatal error: pcre.h: No such file or directory
32 | #include <pcre.h>
| ^~~~~~~~
compilation terminated.
@PRFinklemeister please submit an issue at https://github.com/10gic/vanitygen-plusplus/issues
Also, check if somebody else already had a similar problem and if not, include information about your system (e.g. the output of the commands: uname -a
, lsb_release -a
and gcc --version
and include the exact commands on how to replicate the error which you encountered.
Debian version: 10.12 gcc version 8.3.0 (Debian 8.3.0-6)