Skip to content

Instantly share code, notes, and snippets.

@silenius
Created December 18, 2018 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silenius/e9770919fc7c80527710be4b27658852 to your computer and use it in GitHub Desktop.
Save silenius/e9770919fc7c80527710be4b27658852 to your computer and use it in GitHub Desktop.
(...)
compiling digest/bubblebabble
mkdir -p ../../../.ext/x86_64-freebsd12.0/digest
gcc49 -I. -I../../.. -I../../../. -I../../.././ext/digest/bubblebabble -I../../.././ext/digest/bubblebabble/.. -DHAVE_CONFIG_H -I/usr/local/venvs/afromoths/versions/1.8.7-p375/include -fPIC -g -O2 -c bubblebabble.c
gcc49 -shared -o ../../../.ext/x86_64-freebsd12.0/digest/bubblebabble.so bubblebabble.o -L. -L../../.. -L. -L/usr/local/venvs/afromoths/versions/1.8.7-p375/lib -rdynamic -Wl,-soname,../../../.ext/x86_64-freebsd12.0/digest/bubblebabble.so -lrt -ldl -lcrypt -lm -lc
compiling digest/md5
gcc49 -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/usr/local/venvs/afromoths/versions/1.8.7-p375/include -I/usr/local/venvs/afromoths/versions/1.8.7-p375/include -fPIC -g -O2 -c md5init.c
gcc49 -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/usr/local/venvs/afromoths/versions/1.8.7-p375/include -I/usr/local/venvs/afromoths/versions/1.8.7-p375/include -fPIC -g -O2 -c md5ossl.c
gcc49 -shared -o ../../../.ext/x86_64-freebsd12.0/digest/md5.so md5init.o md5ossl.o -L. -L../../.. -L. -L/usr/local/venvs/afromoths/versions/1.8.7-p375/lib -rdynamic -Wl,-soname,../../../.ext/x86_64-freebsd12.0/digest/md5.so -lcrypto -lrt -ldl -lcrypt -lm -lc
/usr/local/bin/ld: //usr/lib/libcrypto.a(cryptlib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/bin/ld: //usr/lib/libcrypto.a(ctype.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/bin/ld: //usr/lib/libcrypto.a(md5_dgst.o): relocation R_X86_64_PC32 against symbol `memcpy@@FBSD_1.0' can not be used when making a shared object; recompile with -fPIC
/usr/local/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
*** [../../../.ext/x86_64-freebsd12.0/digest/md5.so] Error code 1
make[1]: stopped in /tmp/ruby-build.20181218174712.14108/ruby-1.8.7-p375/ext/digest/md5
1 error
make[1]: stopped in /tmp/ruby-build.20181218174712.14108/ruby-1.8.7-p375/ext/digest/md5
*** [all] Error code 1
make: stopped in /tmp/ruby-build.20181218174712.14108/ruby-1.8.7-p375
1 error
make: stopped in /tmp/ruby-build.20181218174712.14108/ruby-1.8.7-p375
root@sandbox:/tmp #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment