Ara.T.Howard / noaa.gov wrote:
> On Tue, 26 Oct 2004, Ruby Noob wrote:
> 
>> Hi,
>>
>> I just installed the latest stable snapshot of Ruby but I'm not sure 
>> if the install went 100% fine.  I'm running RedHat Advanced Server 3 
>> and I've also installed mod_ruby 1.2.4.
>>
>> What I did:
>>
>> cd /usr/local/src/ruby
>> ./configure
>> make
>> make test      -> success
>> make install
>> ruby --version -> displays "ruby 1.8.2 (2004-10-25) [i686-linux]" :)
>>
>> Why I'm confused:
>>
>> a.  rpm -qa  ->  "ruby-libs-1.8.1-12"  (not sure why this shows up)
>>
>> b.  /usr/local/lib/libruby-static.a exists and is up-to-date :)
>>    but libruby.so does not exist in this directory
>>
>> c.  /usr/lib/libruby.so.1.8 points to libruby.so.1.8.1
>>    both of these are months old and in different dir from (b)
>>
>> What I expected:
>>
>> I expected ruby to be version 1.8.2 (2004-10-25) everywhere 
>> (interpreter, static lib, and shared lib).  But it seems the shared 
>> libs aren't updated to the latest version.
>>
>> What am I doing wrong?
> 
> 
> nothing.  you've installed without using an rpm and so rpm database has not
> been updated.  you've got two versions now - one in /usr and one under
> /usr/local.  you've got a couple of options:
> 
>   - do nothing, have two rubys
> 
>   - figure out how to make an rpm out of the 1.8.2 tar ball and update 
> (as root)
>     using that
> 
>   - clobber rpm install (configure --prefix=/usr && make && sudo make 
> install)
>     and forget about rpms
> 
> someone more knowing might be able to fill in the bits about making an rpm.
> 
> regards.
> 
> -a
> -- 
> =============================================================================== 
> 
> | EMAIL   :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
> | PHONE   :: 303.497.6469
> | When you do something, you should burn yourself completely, like a good
> | bonfire, leaving no trace of yourself.  --Shunryu Suzuki
> =============================================================================== 
> 

Thanks!

By the way, should doing a "make && make install" install any 
rubylib.so* files?  If so, shouldn't I have a rubylib.so.1.8.2 somewhere?