Re: [Gems-users] Failed to load module 'ruby'


Date: Mon, 05 May 2008 13:18:34 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Failed to load module 'ruby'
derek.shepred wrote:
I am getting a load-module error for ruby. This is what happens when I startup simics and try to load ruby. simics> load-module ruby
Error loading module 'ruby': Failed to load module 'ruby' ('/root/gems-2.1/simics_3_workspace/x86-linux/lib/ruby.so'): "undefined symbol: mh_memorytracer_possible_cache_miss"
This is a name mangling incompatibility between the compiler Simics expects (3.x generation) and the one in which ruby was compiled (4.x?)
when I ldd ruby.so,it shows: [root@xiyi421 lib]# ldd ruby.so
        linux-gate.so.1 =>  (0xffffe000)
        libstdc++.so.6 => /usr/local/gcc-3.4.1/lib/libstdc++.so.6 (0xf7f20000)
        libz.so.1 => /usr/lib/libz.so.1 (0xf7ef2000)
        libsimics-common.so => not found
        libm.so.6 => /lib/libm.so.6 (0xf7ecb000)
        libgcc_s.so.1 => /usr/local/gcc-3.4.1/lib/libgcc_s.so.1 (0xf7ec2000)
        libc.so.6 => /lib/libc.so.6 (0xf7d85000)
        /lib/ld-linux.so.2 (0x56555000)
why libsimics-common.so was not found?
libsimics-common.so is loaded by Simics before it loads any modules.
Can anyone give me some advice to sovle the problem? many thanks
------------------------------------------------------------------------

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.


--
http://www.cs.wisc.edu/~gibson [esc]:wq!

[← Prev in Thread] Current Thread [Next in Thread→]