Forum: Ruby problems using ruby:libcrypto.so.0.9.8: open failed: No such

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
vshevde (Guest)
on 2005-11-20 22:59
(Received via mailing list)
Hi,

I wanted to request help on trying to resolve an error while running a
rb
script. I am a Java developer and also CVS admin for a development
group.I
have been wanting to try Ruby for a while,and when i came across the
cvsspam
ruby script to notify users of cvs commit changes,i decided this was my
chance.

cvsspam requires ruby, and so i installed Ruby 1.8.3 on our CVS Server(
didnt build from source, but got binary ruby-1.8.3-sol9-sparc-local from
sunfreeware.com). Our CVS box runs solaris. I followed the instructions
to
setup ruby and cvsspam and now when i try commiting any file to cvs,the
cvsspam ruby script generates the  following error:

/usr/local/lib/ruby/1.8/sparc-solaris2.9/digest/md5.so: ld.so.1:
/usr/local/bin/ruby: fatal: libcrypto.so.0.9.8: open failed: No such
file or
directory - /usr/local/lib/ruby/1.8/sparc-solaris2.9/digest/md5.so
(LoadError)
	from /usr/local/lib/ruby/1.8/net/smtp.rb:24
	from /cvsroot/CVSROOT/cvsspam.rb:1813
/cvsroot/CVSROOT/collect_diffs.rb:292:in `mailtest': problem running
'/cvsroot/CVSROOT/cvsspam.rb' (RuntimeError)
	from /cvsroot/CVSROOT/collect_diffs.rb:449

I also installed the openSSL package(again binaries from sunfreeware)
and
can see the file libcrypto.so.0.9.8 in the servers /user/local/ssl/lib/
directory.

Can anyone please help me out in figuring what went wrong? I desperately
need to track whats happening to my repository and all help is sincerely
appreciated.

Thanks in advance!

Vik.
decoux (Guest)
on 2005-11-21 12:13
(Received via mailing list)
>>>>> "v" == vikram shevde <removed_email_address@domain.invalid> writes:

v> I also installed the openSSL package(again binaries from sunfreeware)
and
v> can see the file libcrypto.so.0.9.8 in the servers
/user/local/ssl/lib/
v> directory.

 try to add the directory /user/local/ssl/lib/ in LD_LIBRARY_PATH

Guy Decoux
vshevde (Guest)
on 2005-11-21 16:51
(Received via mailing list)
<html><div style='background-color:'><P>Thanks for your suggestion Guy!
That indeed did work and everythings working properly now.</P>
<P>&nbsp;</P>
<P>Regards,</P>
<P>Vik.<BR><BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px;
FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>
From: <I>ts &lt;removed_email_address@domain.invalid&gt;</I><BR>Reply-To:
<I>removed_email_address@domain.invalid</I><BR>To: 
<I>removed_email_address@domain.invalid
(ruby-talk ML)</I><BR>CC: 
<I>removed_email_address@domain.invalid</I><BR>Subject:
<I>Re: problems using ruby:libcrypto.so.0.9.8: open failed: No such
file</I><BR>Date: <I>Mon, 21 Nov 2005 19:10:38 +0900</I><BR>&gt;
&gt;&gt;&gt;&gt;&gt; "v" == vikram shevde 
&lt;removed_email_address@domain.invalid&gt;
writes:<BR>&gt;<BR>&gt;v&gt; I also installed the openSSL package(again
binaries from sunfreeware) and<BR>&gt;v&gt; can see the file
libcrypto.so.0.9.8 in the servers /user/local/ssl/lib/<BR>&gt;v&gt;
directory.<BR>&gt;<BR>&gt; try to add the directory /user/local/ssl/lib/
in LD_LIBRARY_PATH<BR>&gt;<BR>&gt;Guy
Decoux<BR>&gt;<BR></FONT></BLOCKQUOTE></div></html>
This topic is locked and can not be replied to.