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

1.9.3-rc1 installation failed on RHEL #68

Closed
airblade opened this issue Oct 20, 2011 · 2 comments
Closed

1.9.3-rc1 installation failed on RHEL #68

airblade opened this issue Oct 20, 2011 · 2 comments

Comments

@airblade
Copy link

I just pulled the latest repo changes, ran sudo ./install.sh, and then rbenv install 1.9.3-rc1. Although this worked for me on my OS X laptop, it failed on my RHEL server.

The last few lines of the log are:

installing default zlib libraries
linking shared-object zlib.so
make[2]: Leaving directory `/tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1/ext/zlib'
make[2]: Entering directory `/tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1'
linking ruby
make[2]: Leaving directory `/tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1'
make[1]: Leaving directory `/tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1'
Generating RDoc documentation
./ruby: symbol lookup error: /tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1/.ext/i686-linux/enc/encdb.so: undefined symbol: rb_encdb_declare
make: *** [rdoc] Error 127

And my server's details:

$ uname -a
Linux my.host.name 2.6.18-53.1.6.el5xen #1 SMP Wed Jan 23 12:33:37 EST 2008 i686 athlon i386 GNU/Linux

How can I get this working please?

@jeremy
Copy link
Member

jeremy commented Oct 20, 2011

See http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/20119 for someone with the same issue (and a solution!)

@jeremy jeremy closed this as completed Oct 20, 2011
@airblade
Copy link
Author

Aha! Thank you.

I'm not quite sure how to pass the flag...is it $ rbenv install 1.9.3-rc1 CONFIGURE_OPTS=LDFLAGS?

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