使用 rvm 进行错误的 ruby​​ 编译:在运行 racku 时获取“未定义符号:rb_Digest_MD5_Init" [英] Faulty ruby compilation with rvm: getting 'undefined symbol: rb_Digest_MD5_Init' while running racku

查看:27
本文介绍了使用 rvm 进行错误的 ruby​​ 编译:在运行 racku 时获取“未定义符号:rb_Digest_MD5_Init"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Ubuntu 上.有任何想法吗?我必须设置任何编译选项吗?

I am on Ubuntu. Any ideas? Do I have to set any compilation option?

推荐答案

您的系统似乎缺少一些开发包.请参阅我的文章这里,特别是这一步.我不确定,但 MD5 代码可能是 libssl 的一部分,因此安装这些包会覆盖它.

It seems you're missing some devel packages on your system. See my article here, specifically this step. I'm not sure, but the MD5 code could be part of libssl, so it would be covered by installing these packages.

$ sudo apt-get install zlib1g-dev libreadline5-dev libssl-dev libxml2-dev

这篇关于使用 rvm 进行错误的 ruby​​ 编译:在运行 racku 时获取“未定义符号:rb_Digest_MD5_Init"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆