Skip to content

Instantly share code, notes, and snippets.

@rbriank
Created January 5, 2012 14:51
Show Gist options
  • Save rbriank/1565567 to your computer and use it in GitHub Desktop.
Save rbriank/1565567 to your computer and use it in GitHub Desktop.
mkdir -p .ext/common
make PRELIBS='-Wl,-rpath,/home/bkierstead/rubies/ruby-enterprise-1.8.7-2009.10/lib -L/home/bkierstead/rubies/ruby-enterprise-1.8.7-2009.10/lib -ltcmalloc_minimal '
gcc -g -Os -fno-strict-aliasing -DRUBY_EXPORT -D_GNU_SOURCE=1 -L. -rdynamic -Wl,-export-dynamic main.o libruby-static.a -Wl,-rpath,/home/bkierstead/rubies/ruby-enterprise-1.8.7-2009.10/lib -L/home/bkierstead/rubies/ruby-enterprise-1.8.7-2009.10/lib -ltcmalloc_minimal -lrt -ldl -lcrypt -lm -o miniruby
libruby-static.a(random.o): In function `make_seed_value':
/home/bkierstead/src/ruby-enterprise-1.8.7-2009.10/source/random.c:304: undefined reference to `RBIGNUM_SET_SIGN'
/home/bkierstead/src/ruby-enterprise-1.8.7-2009.10/source/random.c:313: undefined reference to `RBIGNUM_LEN'
/home/bkierstead/src/ruby-enterprise-1.8.7-2009.10/source/random.c:313: undefined reference to `RBIGNUM_LEN'
collect2: ld returned 1 exit status
make: *** [miniruby] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment