Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't compile on Arch Linux #16

Closed
InsideBall opened this issue Mar 3, 2016 · 1 comment
Closed

Won't compile on Arch Linux #16

InsideBall opened this issue Mar 3, 2016 · 1 comment
Labels

Comments

@InsideBall
Copy link

$ make
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static brainflayer.o hex.o bloom.o mmapf.o hsearchf.o ec_pubkey_fast.o ripemd160_256.o dldummy.o warpwallet.o brainwalletio.o brainv2.o secp256k1/.libs/libsecp256k1.a scrypt-jane/scrypt-jane.o -lssl -lrt -lcrypto -lz -lgmp -o brainflayer
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
/usr/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
Makefile:59: recipe for target 'brainflayer' failed
make: *** [brainflayer] Error 1

$ pacman -Q openssl
openssl 1.0.2.f-1

$ pacman -Q gmp
gmp 6.1.0-3

@ryancdotorg
Copy link
Owner

Looks like the issue is that, by by policy Arch does not include the .a versions of libraries for static linking. You'll have to modify the Makefile to use dynamic linking instead of static.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants