Re: Troubles making ruby18
Alexander Hansen <alexanderk.hansen <at> gmail.com>
2009-04-03 13:16:13 GMT
Alessio Sarti wrote:
> Dear all,
> I'm trying to compile ruby18 against on
> Mac OS X 10.5.6 (9G55)
> uname -r gives:
> Darwin macbook-pro-di-alessio-sarti.local 9.6.0 Darwin Kernel Version
> 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
>
> The error I get comes up when trying to make openssl related libs, and
> is appended below...
> Am I missing something stupid?
>
> Cheers,
> alessio
>
> cc -dynamic -bundle -L"/sw/src/fink.build/ruby18-1.8.1-2/ruby-1.8.1"
> -L"/sw/lib" -o 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 -lruby -lssl -lcrypto -ldl -lobjc
> Undefined symbols:
> "_ENGINE_load_chil", referenced from:
> _ossl_engine_s_load in ossl_engine.o
> "_ENGINE_load_atalla", referenced from:
> _ossl_engine_s_load in ossl_engine.o
> "_ENGINE_load_aep", referenced from:
> _ossl_engine_s_load in ossl_engine.o
> "_ENGINE_load_ubsec", referenced from:
> _ossl_engine_s_load in ossl_engine.o
> "_ENGINE_load_4758cca", referenced from:
> _ossl_engine_s_load in ossl_engine.o
> "_ENGINE_load_nuron", referenced from:
> _ossl_engine_s_load in ossl_engine.o
> "_ENGINE_load_sureware", referenced from:
> _ossl_engine_s_load in ossl_engine.o
> "_ENGINE_load_cswift", referenced from:
> _ossl_engine_s_load in ossl_engine.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [openssl.bundle] Error 1
> make: *** [all] Error 1
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-ruby18-1.8.1-2
> (Lettura del database ... 90770 file e directory attualmente installati.)
> Rimozione di fink-buildlock-ruby18-1.8.1-2 ...
> Failed: phase compiling: ruby18-1.8.1-2 failed
>
>
>
You should be able to get this version via the binary distribution:
sudo apt-get install ruby18
Or, I get the same error with openssl098-dev installed, so if you have
that installed, remove it.
I'll cc the maintainer to see about moving the current package from
unstable, which doesn't suffer from this issue, or to fix this one up
not to have this problem anymore.
--
--
Alexander Hansen
Fink User Liaison
------------------------------------------------------------------------------