Re: [Gems-users] ruby load-module problem


Date: Thu, 18 Jan 2007 16:51:01 +0100
From: mehmetderin.harmanci@xxxxxxx
Subject: Re: [Gems-users] ruby load-module problem
Hello,

  I do not know, if it can be related, but I had a similar problem before.
  I can suggest you to move one or more  .so files inside the the following
  directory to some other directory

  the directory is :

  SIMICS-CORE/x86-linux/sys/lib

  (SIMICS-CORE is the directory where simics was first installed. It is not
  the/a simics workspace directory. To cut it short, it is the directory
  where you should have a directory called licenses (where your simics
  license(s) resides)

  This directory has some shared object libraries that are used by simics
  and they actually they are replacements to some other system .so libraries
  If these object libraries do not match the configuration of your gcc
  you get an error like you had. For example you can have a library which
  requires /usr/lib/libstdc++.so.6 (which may be the cause of the error) and
  this library is probably compiled with a different gcc version than the
  one provided by this library of simics. So, what you need to do is probably
  to find which libraries your ruby.so requires  (and recursively which
  system libraries these required .so's require) and if you find
  them in the above directory too, just move those .so files to another
  directory, so that simics tries to use your native system's .so libraries
  instead of the .so's in the above library. In my case, I needed to remove
  the libgcc_s.so.1 file from the above directory.

  You may like to use the ldd command to find out the library dependencies
  of your ruby.so (with a command-line like the following :

  ldd ruby.so

  )


  I have not followed all the mails of this thread so maybe my mail is not
  totally related. But still, I hope the above information helps,

  Regards,

  Derin Harmanci.




Selon Dan Gibson <degibson@xxxxxxxx>:

>
>
>
>
>
>
>
> Alternatively, you can ask this question on the simics.net forums.
>
>
>
> Mike Marty wrote:
>
>
>
>
>   This appears to be a Simics 3.x
> issue that we haven't seen in Simics 2.2.x.  We recommend using Simics
> 2.2.x until all the kinks of using Simics 3.x are ironed out.
>    
>   --Mike
>
>     -----
> Original Message -----
>     From:
>     Vineet Chadha
>     To:
>     Gems Users
>     Sent:
> Wednesday, January 17, 2007 9:42 PM
>     Subject:
> [Gems-users] ruby load-module problem
>
>
>
> Hi,
>
>
>
> I have compiled ruby as indicated in wikipedia but loading ruby module
> gives following error:
>
>
>
> simics> load-module ruby
>
> Error loading module 'ruby': Failed to load module 'ruby'
> ('/home/vineet/software/Gems/simics_3_workspace/x86-linux/lib/ruby.so'):
> "version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)"
>
>
>
> Thanks in advance
>
>
>
> Regards,
>
> Vineet
>
>
>      _______________________________________________
>
> 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.
>
>
>
>
>
>
> _______________________________________________
> 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.
>
>
>
>
>
>


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