Date: | Tue, 27 Nov 2007 16:00:03 +1030 |
---|---|
From: | May Zhao <zhao0043@xxxxxxxxxxxxxxxxxxxxxxx> |
Subject: | Re: [Gems-users] Failed to load module 'ruby' |
Thank you for the replies. I resolved problem. The problems is not because of SIMICS_EXTRA_LIB. It is caused by GCC. Our system install the new GCC 3.4.6 and also libstdc++.so has been changed. I still used old GCC 3.2.3 to compile The error said: Error loading module 'ruby': Failed to load module 'ruby' ('/home/users/mayzhao/gems/simics_3_workspace/x86-linux/lib/ruby.so'): "cannot open shared object file: No such file or directory" At first glance, I thought "ruby.so" was not right. However, I use ldd ruby.so ,which told me : libstdc++.so.6 => not found. So the reason is libstdc++.so.6, not ruby.so libstdc++.so.6 is required by GCC 3.4.6, but GCC 3.2.3 needs libstdc++.so.5. My conclusions: If still want to use old gcc version, there are two places in which we have to check gcc and library path: $GEMS/common/Makefile.common $GEMS/ruby/module/Makefile $GEMS/simics_3_workspace/compiler.mk At 04:30 PM 23/11/2007 +1030, you wrote: Hello everyone, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ School of Informatics and Engineering Engineering Building Flinders University, Adelaide 5042, S.A. Australia. Home Phone: (08) 8357 5983 Office Phone: (08) 8201 5522 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] Problem when running opal, Luke Yen |
---|---|
Next by Date: | [Gems-users] How to add power model (orion) to GEMS ?, Pohung Lin |
Previous by Thread: | Re: [Gems-users] Failed to load module 'ruby', msahin |
Next by Thread: | [Gems-users] Fw: Load Checkpoint - The default .Check files missing, Irene-Aggeliki Chounta |
Indexes: | [Date] [Thread] |