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

Build Fails on fiddle.so Ruby-2.2.0 Ubuntu 14.10 #692

Closed
ghost opened this issue Dec 27, 2014 · 2 comments
Closed

Build Fails on fiddle.so Ruby-2.2.0 Ubuntu 14.10 #692

ghost opened this issue Dec 27, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 27, 2014

Note: 2.1.5 built just fine on the same system.

Using the latest ruby-build:

linking shared-object fiddle.so
/usr/bin/ld: ./libffi-3.2.1/.libs/libffi.a(raw_api.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
./libffi-3.2.1/.libs/libffi.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:325: recipe for target '../../.ext/x86_64-linux/fiddle.so' failed
make[2]: *** [../../.ext/x86_64-linux/fiddle.so] Error 1
make[2]: Leaving directory '/tmp/ruby-build.20141226200756.24972/ruby-2.2.0/ext/fiddle'
exts.mk:177: recipe for target 'ext/fiddle/all' failed
make[1]: *** [ext/fiddle/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling objspace.c
installing default nkf libraries
linking shared-object objspace.so
make[2]: Leaving directory '/tmp/ruby-build.20141226200756.24972/ruby-2.2.0/ext/objspace'
linking shared-object date_core.so
make[2]: Leaving directory '/tmp/ruby-build.20141226200756.24972/ruby-2.2.0/ext/date'
linking shared-object nkf.so
make[2]: Leaving directory '/tmp/ruby-build.20141226200756.24972/ruby-2.2.0/ext/nkf'
make[1]: Leaving directory '/tmp/ruby-build.20141226200756.24972/ruby-2.2.0'
uncommon.mk:187: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2
@ghost ghost changed the title Build Fails on Fiddle.so Ruby-2.2.0 Ubuntu Build Fails on fiddle.so Ruby-2.2.0 Ubuntu Dec 27, 2014
@ghost ghost changed the title Build Fails on fiddle.so Ruby-2.2.0 Ubuntu Build Fails on fiddle.so Ruby-2.2.0 Ubuntu 14.10 Dec 27, 2014
@hsbt
Copy link
Member

hsbt commented Dec 27, 2014

Please see #690 (comment)

@hsbt hsbt closed this as completed Dec 27, 2014
@acosonic
Copy link

Thanks! Helped me with Ubuntu 14.10

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

No branches or pull requests

2 participants