ara.t.howard / noaa.gov wrote:
> On Fri, 8 Sep 2006, Daniel Berger wrote:
> 
>> ara.t.howard / noaa.gov wrote:
>>> On Fri, 8 Sep 2006, Daniel Berger wrote:
>>>
>>>> Ruby 1.8.5
>>>> RHEL 4, x86-64
>>>> gcc 3.4.5
>>>> make 3.80
>>>>
>>>> Something very strange is happening here.  The bigdecimal.so file 
>>>> clearly exists:
>>>>
>>>> [ djberge@lxomp55e /usr/local/lib/ruby ] $ pwd
>>>> /usr/local/lib/ruby
>>>> [ djberge@lxomp55e /usr/local/lib/ruby ] $ find . -name 'bigdecimal.so'
>>>> ./1.8/x86_64-linux/bigdecimal.so
>>>>
>>>> Yet Ruby can't find it:
>>>>
>>>> djberge@some_host /usr/local/lib/ruby/site_ruby/1.8 ] $ irb
>>>> irb(main):001:0> require 'bigdecimal'
>>>> LoadError: no such file to load -- bigdecimal
>>>>        from (irb):1:in `require'
>>>>        from (irb):1
>>>
>>>
>>> which -a irb
>>>
>>> ??
>>>
>>> -a
>>
>> /usr/local/bin/irb
>>
>> irb(main):002:0> RUBY_VERSION
>> => "1.8.5"
> 
> oh well.  i was hoping you were picking up an old one ;-)
> 
>> I did notice that autoconf wasn't installed originally.  So, I installed
>> autoconf (2.59), did a 'make clean' and reinstalled.  Still no luck.
> 
> hmmm.  no idea, but does either of these give any leads?
> 
>   /usr/local/bin/ruby -r 
> /usr/local/lib/ruby/1.8/x86_64-linux/bigdecimal.so -e 42
> 
>   LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/ruby -r 
> /usr/local/lib/ruby/1.8/x86_64-linux/bigdecimal.so -e 42
> 
>   /usr/local/bin/ruby -r yaml -r rbconfig -e'  y Config::CONFIG  '  | less
> 
> grasping at straws...
> 
> 
> btw.  i can compile 1.8.5 on a rhel4 box later today and give you a report.
> 
> 
> -a

GAH! Stupid sudo umask settings!

It was a permissions issue.  Disregard.

Thanks,

Dan


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.