Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > help: digest/sha2.so: no such file to load -- digest.so

Reply
Thread Tools

help: digest/sha2.so: no such file to load -- digest.so

 
 
Tammy Mc
Guest
Posts: n/a
 
      09-29-2006
Hi

Can someone please help me out with this install error?
Well actually I can install ruby 1.8.5 on OS X 10.4 but I cannot do a
successful "make test" or use ruby to run gem setup.

I get this error:

[/src/ruby-1.8.5] tammy% make test
/rubytest.rb:40: warning: Insecure world writable dir /usr/local/bin,
mode 040777
digest/sha2.so: no such file to load -- digest.so (LoadError)
test failed
make: *** [test] Error 1
[/src/ruby-1.8.5] tammy% sudo chmod 775 /usr/local/bin
[/src/ruby-1.8.5] tammy% make test
digest/sha2.so: no such file to load -- digest.so (LoadError)
test failed
make: *** [test] Error 1

I followed HiveLogic's install guide:
http://hivelogic.com/articles/2005/1...pd_mysql_tiger
or, err, well, I did not get very far.

Any insight appreciated! Thanks,

t

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Arthaey Angosii
Guest
Posts: n/a
 
      09-30-2006
I have the same problem with digest.so not existing, but with Ruby
1.8.4 on Mandrake 10.1. I've tried Googling for digest.so, but I'm only
coming up with Perl modules.

 
Reply With Quote
 
 
 
 
Tammy Mc
Guest
Posts: n/a
 
      10-01-2006
What is interesting is I can see these in ruby source after making ruby:

/usr/local/src/ruby-1.8.5/.ext/powerpc-darwin8.7.0/digest.bundle
/usr/local/src/ruby-1.8.5/ext/digest/digest.c
/usr/local/src/ruby-1.8.5/ext/digest/digest.h
/usr/local/src/ruby-1.8.5/ext/digest/digest.o
/usr/local/src/ruby-1.8.5/ext/digest/digest.txt
/usr/local/src/ruby-1.8.5/ext/digest/digest.txt.ja
/usr/local/src/ruby-1.8.5/ext/openssl/lib/openssl/digest.rb


And the make ended with this:

SETUP=ext/Setup
EXTOBJS=ext/extinit.o ext/digest/sha2/sha2.a
making ruby
make[1]: `ruby' is up to date.

Yet I still get this:
tammy% make test
digest/sha2.so: no such file to load -- digest.so (LoadError)
test failed
make: *** [test] Error 1

But I can:
ruby --version
ruby 1.8.5 (2006-08-25) [powerpc-darwin8.7.0]
(and ruby --copyright or --help)

Yet I have searched far and wide. Nothing reported on this. Wonder why?!
Is no one using 1.8.5 yet?






--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
Tammy Mc
Guest
Posts: n/a
 
      10-01-2006
Well

I installed ruby 1.8.4 exactly the same way I had installed 1.85:

36 17:25 ./configure --prefix=/opt/local --enable-pthread
--with-readline-dir=/usr/local
37 17:27 make
38 17:34 make test
39 17:53 sudo make install
40 17:53 make clean

And, voila, ruby works, gem is installed, gem works, and rails is now
installing via gem.
Notice the "make test" step worked for 1.8.4 too.

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to install Rails No such file to load -- rubygems/security (LoadError) Zoong Pham Ruby 1 08-11-2005 01:39 PM
Ruby: No such file to load -- ubygems (LoadError) Brian Takita Ruby 7 05-24-2005 07:11 PM
[BUG] RubyGems: "No such file to load -- rubygems/builder" Erik Veenstra Ruby 4 02-04-2005 10:28 PM
Getting error: ..."in 'require': No such file to load -- socket (LoadError) Ruby Ruby Ruby 0 04-22-2004 12:34 PM



Advertisments