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

compilation/linking error when building the library #6

Closed
dhuseby opened this issue Mar 23, 2018 · 4 comments · Fixed by #13
Closed

compilation/linking error when building the library #6

dhuseby opened this issue Mar 23, 2018 · 4 comments · Fixed by #13
Projects

Comments

@dhuseby
Copy link

dhuseby commented Mar 23, 2018

[ 89%] Linking C shared library libed25519.so
/usr/bin/ld: lib/ed25519/amd64-64-24k-pic/CMakeFiles/amd64-64-24k-pic.dir/fe25519_mul.s.o: relocation R_X86_64_PC32 against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value

I followed the instructions on the page except that I used the amd64-64-24k-pic implementation so that I'd get the PIC fixes. It looks like there's an instance that was missed.

@Warchant
Copy link
Contributor

Warchant commented Mar 23, 2018

Hi @dhuseby ! What is your OS? Is this the only issue? Please, post full build log to pastebin or here.

@dhuseby
Copy link
Author

dhuseby commented Mar 23, 2018

Debian Linux.

@l4l
Copy link
Contributor

l4l commented Mar 23, 2018

Yeah, I have exactly same issue. I found that the problem starts with 2fdd13c

@Warchant
Copy link
Contributor

I will work on fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Ed25519
  
To do
Development

Successfully merging a pull request may close this issue.

3 participants