Re: [Gems-users] compile ruby error on SPARC


Date: Fri, 03 Mar 2006 13:47:20 -0600
From: "Min Xu (Hsu)" <xu@xxxxxxxxxxx>
Subject: Re: [Gems-users] compile ruby error on SPARC
Liping Xue wrote:
ld.so.1: ../slicc/v9-sol8-64/bin/slicc.exec: fatal: /usr/local/lib/libstdc++.so.5: wrong ELF class: ELFCLASS32
This indicates your libstdc++.so.5 is 32-bit. On SPARC, ruby by default compiles to 64-bit
objects. So the linker fails for the different bit-width.

So solve this, you either change the makefile to make ruby in 32-bit, or provide a 64-bit
stdc++ to the 64-bit ruby.

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