From: Tim Nordloh Date: 2006-03-23T13:36:34+09:00 Subject: Re: Ruby on HP-UX ------=_Part_9928_979708.1143088563998 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'll work on at least openssl, since it is the squeaky wheel at the moment. I'm having issues with it's makefile at the moment. Incidentally, why are you refering to libcrypto, when the error is related to crypto? Is crypto somehow contained in the libcrypto file? I ask because I have a ' libcrypto.sl' file on my system, but no 'crypto.sl', so I sense the difference may be important to me in some way. I'll paste the error below, so you don't have to refer back to my original message to the forum... gmake[1]: Entering directory `/home/tnordloh/ruby/ruby-1.8.4/ext/digest/md5= ' ld -b -E -L"../../.." -o ../../../.ext/hppa2.0w-hpux11.11/digest/md5.sl md5init.o md5ossl.o -lcrypto -ldld -lcrypt -lm -lc *ld: Can't find library: "crypto"* gmake[1]: *** [../../../.ext/hppa2.0w-hpux11.11/digest/md5.sl] Error 1 gmake[1]: Leaving directory `/home/tnordloh/ruby/ruby-1.8.4/ext/digest/md5' gmake: *** [all] Error 1 I did read your original message, and I apologize for not understanding it. It's too high-level for me. For example, when you talk about "disable ipv6 and wide-getaddrinfo so it uses Ruby's built-in getaddrinfo() instead" I as= k the question "how?" I don't believe I have IPv6 enabled, so maybe I'm good on this step. On 3/22/06, MenTaLguY wrote: > > libcrypto is provided by openssl, yes > > iconv _should_ be provided by your OS's libc, but as I recall HP-UX's is > present but broken (HP has a distressing habit of implementing things > just enough to pass a naive configure test). You can get a portable > iconv replacement for Ruby to use here: > > http://www.gnu.org/software/libiconv/ > > If I remember correctly, the list of essential libraries is something > like (in no particular order): > > - zlib > - libgdbm > - libiconv > - ncurses > - readline > - openssl > > I think there's one more I'm forgetting, but I can't find my notes just > now. It'll be pretty obvious if you're still missing one, though. > > Make sure that these are all available as either shared libraries how do I make sure of this? or (failing that) that they were at least built as position-independent code. Otherwise the HP-UX dynamic linker will choke at runtime because it can't relocate the static objects HP's linker blindly imports into shared libraries. See my old post that I linked to for more details and other tweaks that need to be made to specific libraries for HP-UX. -mental ------=_Part_9928_979708.1143088563998--