[#29911] [Bug #3231] Digest Does Not Build — Charlie Savage <redmine@...>

Bug #3231: Digest Does Not Build

19 messages 2010/05/01

[#29920] [Feature #3232] Loops (while/until) should return last statement value if any, like if/unless — Benoit Daloze <redmine@...>

Feature #3232: Loops (while/until) should return last statement value if any, like if/unless

9 messages 2010/05/01

[#29997] years in Time.utc — Xavier Noria <fxn@...>

Does anyone have a precise statement about the years supported by

13 messages 2010/05/04

[#30010] [Bug #3248] extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly — Luis Lavena <redmine@...>

Bug #3248: extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly

9 messages 2010/05/05

[#30226] [Bug #3288] Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88 — Szymon Jeż <redmine@...>

Bug #3288: Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88

10 messages 2010/05/13

[#30358] tk doesn't startup well in doze — Roger Pack <rogerdpack2@...>

Currently with 1.9.x and tk 8.5,the following occurs

12 messages 2010/05/22

[ruby-core:30280] [Bug #3306] rbconfig.rb RPATHFLAG wrong for AIX

From: Perry Smith <redmine@...>
Date: 2010-05-17 19:04:00 UTC
List: ruby-core #30280
Bug #3306: rbconfig.rb RPATHFLAG wrong for AIX
http://redmine.ruby-lang.org/issues/show/3306

Author: Perry Smith
Status: Open, Priority: Normal
Target version: 1.9.1
ruby -v: ruby 1.9.1p376 (2009-12-07 revision 26041) [powerpc-aix5.3.0.0]

When I do:

  gem install curb

(as an example), a shared library is created but the shared library can not load.  I tracked it back to the line in rbconfig.rb which is:

  CONFIG["RPATHFLAG"] = " -Wl,-blibpath:%1$-s"

This ends up producing -Wl,-blibpath:/usr/local/lib

on the final link.

This is incorrect because it does not include /usr/lib and is also a little bit dangerous for other reasons.  The flag should not be necessary unless the user is doing something really strange.  The libpath that was used at link time is buried into the executable.  The -blibpath flag overrides this with a new value.  Generally, it is not needed.  But, if you decide to use it, you need to include /usr/lib or it will not be searched and the load of the shared library will fail because very often something from another library is needed.

I changed my rbconfig.rb file to simpley:

  CONFIG["RPATHFLAG"] = ""

and it appears to be working for me.

I am not sure when this started.  I believe with p376 but I'm not sure.  My previous version was p243.


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next