Skip to content

Conversation

@duhast
Copy link

@duhast duhast commented Mar 27, 2015

Hi! Compilation of Ruby 2.2.1 failed for me with the following error:

/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

So I found a solution here and had to update this role.

Also I've divided install-ruby.sh script into plain idempotent ansible tasks.

Also looking forward to create a PR to solve #3 some day.

@duhast
Copy link
Author

duhast commented Mar 17, 2016

@jlund any update here?

@jlund
Copy link
Owner

jlund commented Mar 18, 2016

Wow! I must have completely missed this, and I'm sorry about that.

This looks really nice. I'll try to find some time to test it tonight.

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

Successfully merging this pull request may close these issues.

2 participants