[问题]ubuntu7.10 安装rails出错,请教!

Python/PHP/Perl 开发与设计
回复
头像
jiening1017
帖子: 164
注册时间: 2007-05-29 21:58
来自: 大连
送出感谢: 0
接收感谢: 0

[问题]ubuntu7.10 安装rails出错,请教!

#1

帖子 jiening1017 » 2007-12-17 23:34

错误信息如下:请有经验者帮帮忙,我刚刚开始学ROR,什么都不懂,大家帮帮忙吧,谢谢了!!!!

代码: 全选

sincerity@SINCERITY:~$ ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
sincerity@SINCERITY:~$ gem -v
0.9.5
sincerity@SINCERITY:~$ gem install rails --include-dependencies
/program/MyPro/ruby/lib/ruby/1.8/i686-linux/digest/md5.so: /program/MyPro/ruby/lib/ruby/1.8/i686-linux/digest/md5.so: undefined symbol: rb_Digest_MD5_Init - /program/MyPro/ruby/lib/ruby/1.8/i686-linux/digest/md5.so (LoadError)
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/digest/md5.rb:8
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:12
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:9
         ... 14 levels...
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:103:in `process_args'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:74:in `run'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in `run'
        from /program/MyPro/ruby/bin/gem:22
sincerity@SINCERITY:~$ 

理论上菜鸟也是鸟啊!
那就是说我是可以飞地,但是如果真飞不起来,我就去当鸵鸟...
http://www.netyi.net/in.asp?id=sincere1809
头像
jiening1017
帖子: 164
注册时间: 2007-05-29 21:58
来自: 大连
送出感谢: 0
接收感谢: 0

#2

帖子 jiening1017 » 2007-12-19 12:01

/program/MyPro/ruby/lib/ruby/1.8/i686-linux/digest/md5.so
这个文件我的安装目录下存在啊,为什么会出现这个错误
能给讲解一下吗
理论上菜鸟也是鸟啊!
那就是说我是可以飞地,但是如果真飞不起来,我就去当鸵鸟...
http://www.netyi.net/in.asp?id=sincere1809
aaazjz
帖子: 444
注册时间: 2007-03-24 9:08
来自: 青岛
送出感谢: 0
接收感谢: 0
联系:

Re: [问题]ubuntu7.10 安装rails出错,请教!

#3

帖子 aaazjz » 2007-12-22 19:04

jiening1017 写了:错误信息如下:请有经验者帮帮忙,我刚刚开始学ROR,什么都不懂,大家帮帮忙吧,谢谢了!!!!

代码: 全选

sincerity@SINCERITY:~$ ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
sincerity@SINCERITY:~$ gem -v
0.9.5
sincerity@SINCERITY:~$ gem install rails --include-dependencies
/program/MyPro/ruby/lib/ruby/1.8/i686-linux/digest/md5.so: /program/MyPro/ruby/lib/ruby/1.8/i686-linux/digest/md5.so: undefined symbol: rb_Digest_MD5_Init - /program/MyPro/ruby/lib/ruby/1.8/i686-linux/digest/md5.so (LoadError)
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/digest/md5.rb:8
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:12
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:9
         ... 14 levels...
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:103:in `process_args'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:74:in `run'
        from /program/MyPro/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in `run'
        from /program/MyPro/ruby/bin/gem:22
sincerity@SINCERITY:~$ 

不太知道,自己编译的吧,再编一次看看……我自己编译的时候少一个zlib……
头像
jiening1017
帖子: 164
注册时间: 2007-05-29 21:58
来自: 大连
送出感谢: 0
接收感谢: 0

#4

帖子 jiening1017 » 2007-12-23 10:33

不太知道,自己编译的吧,再编一次看看……我自己编译的时候少一个zlib……
其实我都编译好多此了,我开始的时候也是少zlib,后来我按照网上的方法把/ruby/ext/setup文件有的地方的注释去掉了,然后编译的,就有zlib了,但是就出现上面的问题了。但是问题是,那个该死的文件我的安装目录里边有啊?为什么会加载错误呢?
理论上菜鸟也是鸟啊!
那就是说我是可以飞地,但是如果真飞不起来,我就去当鸵鸟...
http://www.netyi.net/in.asp?id=sincere1809
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
送出感谢: 0
接收感谢: 0
联系:

#5

帖子 karron » 2007-12-23 12:05

https://help.ubuntu.com/7.10/server/C/r ... rails.html

没事去官方网站看看吧, 别瞎折腾.
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
回复

回到 “Python/Php/Perl”