Ruby1.8.6, MacOSX Tiger and ssl

Hi folks,

I’ve a happily working 1.8.5 installed in /usr/local built according to
the instructions at hivelogic.com
[http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx].

I’ve just tried to build 1.8.6 using effectively the same steps:

./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local
make

But I get the following error:

cc -dynamic -bundle -undefined suppress -flat_namespace -L"…/…" -o
…/…/.ext/i686-darwin8.8.1/openssl.bundle openssl_missing.o ossl.o
ossl_asn1.o ossl_bio.o ossl_bn.o ossl_cipher.o ossl_config.o
ossl_digest.o ossl_engine.o ossl_hmac.o ossl_ns_spki.o ossl_ocsp.o
ossl_pkcs12.o ossl_pkcs7.o ossl_pkey.o ossl_pkey_dh.o ossl_pkey_dsa.o
ossl_pkey_rsa.o ossl_rand.o ossl_ssl.o ossl_x509.o ossl_x509attr.o
ossl_x509cert.o ossl_x509crl.o ossl_x509ext.o ossl_x509name.o
ossl_x509req.o ossl_x509revoked.o ossl_x509store.o -lssl -lcrypto
-lpthread -ldl -lobjc
/usr/bin/ld: can’t locate file for: -lssl
collect2: ld returned 1 exit status
make[1]: *** […/…/.ext/i686-darwin8.8.1/openssl.bundle] Error 1
make: *** [all] Error 1

Can anyone help me with a pointer of what things I should be looking for
? Is this a library I’m missing on my Mac, or something mac-general I
should be specifiying in ./configure ?

Thanks in advance,

A.

Alan F. wrote:

Hi folks,

I’ve just tried to build 1.8.6 using effectively the same steps:

./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local
make

But I get the following error:

It turned out that trtying to ‘make’ simultaneously with doing an OS
update is a bad idea.

All well now.

A.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs