Skip to content

Instantly share code, notes, and snippets.

@sonOfRa
Created August 15, 2013 11:22
Show Gist options
  • Save sonOfRa/6240107 to your computer and use it in GitHub Desktop.
Save sonOfRa/6240107 to your computer and use it in GitHub Desktop.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libsodium.a(libsodium_la-randombytes_sysrandom.o): warning: relocation against `randombytes_sysrandom_buf' in readonly section `.text'.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libsodium.a(libsodium_la-randombytes_sysrandom.o): relocation R_X86_64_PC32 against symbol `randombytes_sysrandom_stir' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [core/libtoxcore.so] Error 1
make[1]: *** [core/CMakeFiles/toxcore.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment