From: nobu.nokada@... Date: 2004-01-12T07:49:01+09:00 Subject: Re: ruby 1.8.1 testing after crosscompiling for armv4l (iPAQ) Hi, At Mon, 12 Jan 2004 07:16:38 +0900, Kero wrote: > >> >> $ LD_PRELOAD=../libruby.so ../ruby -I ../ipkg/root/usr/lib/ruby/1.8/ -I../ipkg/root/usr/lib/ruby/1.8/arm-linux/ runner.rb > >> >> (eval):3:in `initialize': Unsupported digest algorithm (SHA1).: (RuntimeError) > >> >> from (eval):3:in `initialize' > >> >> from ../ipkg/root/usr/lib/ruby/1.8/drb/ssl.rb:91:in `new' > >> >> [snip] > >> >> > >> >> But, digest/sha1/sha1.so has been compiled just fine (and running with -d > >> >> -w options does not warn me of the file not being found/loaded/containing > >> >> errors). What's going on? > > > > I misunderstood. That exception is raised from ossl.so, but > > not concerned with digest/*.so at all. > > Woops! Next attempt: > I verified with strace and libssl and libcrypto (v0.9.7c) are found. But > I can not find the three lines of code that are eval()uated and throw the > exception. In ext/openssl/lib/openssl/digest.rb. > What strikes my with strace is that suddenly, at the end, a lot of > --- SIGVTALRM (Virtual timer expired) --- > scrolls over my screen, which did not happen while loading all the other > files. Something timed out? You can use strace -o option to save the output. -- Nobu Nakada