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
bedov-kutoniva opened this Issue Dec 27, 2014 · 2 comments

Comments

Projects
None yet
3 participants
@bedov-kutoniva

bedov-kutoniva 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

@bedov-kutoniva bedov-kutoniva changed the title from Build Fails on Fiddle.so Ruby-2.2.0 Ubuntu to Build Fails on fiddle.so Ruby-2.2.0 Ubuntu Dec 27, 2014

@bedov-kutoniva bedov-kutoniva changed the title from Build Fails on fiddle.so Ruby-2.2.0 Ubuntu to Build Fails on fiddle.so Ruby-2.2.0 Ubuntu 14.10 Dec 27, 2014

@hsbt

This comment has been minimized.

Show comment
Hide comment
@hsbt

hsbt Dec 27, 2014

Contributor

Please see #690 (comment)

Contributor

hsbt commented Dec 27, 2014

Please see #690 (comment)

@hsbt hsbt closed this Dec 27, 2014

@acosonic

This comment has been minimized.

Show comment
Hide comment
@acosonic

acosonic Mar 14, 2015

Thanks! Helped me with Ubuntu 14.10

acosonic commented Mar 14, 2015

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