Issue #6207 has been updated by mpapis (Michal Papis).

File rbconfig.rb.diff added

very similar problem appears to happen when I use --enable-load-relative - ruby is compiled in lib64 but the recorded path for -rpath is $${ORIGIN}/../lib (see attached file)

so when I copy this ruby to other location it only works if I link lib64 to lib

is it related or should I open a new issue ?
----------------------------------------
Bug #6207: [[Ruby 1.9:]] lib64 not recognized with  --with-opt-dir
https://bugs.ruby-lang.org/issues/6207#change-25376

Author: mpapis (Michal Papis)
Status: Open
Priority: High
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]


Compiling ruby using --with-opt-dir on system that uses lib64 as default lib dir (including ruby) does not select library binaries from lib64, linking lib64 to lib allows compilation.

All the library paths in system are lib64 including compilation of ruby, but compilation can not include libraries from lib64 defined with --with-opt-dir.

Attached you can find /home/mpapis/.rvm/usr/lib64/pkgconfig/yaml-0.1.pc - which explicitly shows that lib64 should be used.




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