[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Does the tk extension support 64bit on Linux?

Jim Freeze

12/15/2004 10:43:00 PM

Running EL3 on an opteron we get:

[root@op2 root]# ruby -e 'require "tk"'
/usr/lib64/ruby/1.8/x86_64-linux-gnu/tcltklib.so:
/usr/lib64/ruby/1.8/x86_64-linux-gnu/tcltklib.so: undefined symbol: Tk_SafeInit - /usr/lib64/ruby/1.8/x86_64-linux-gnu/tcltklib.so (LoadError)
from /usr/lib64/ruby/1.8/tk.rb:7
from -e:1:in `require'
from -e:1
[root@op2 root]#

Does anone know how to resolve this (using Ruby 1.8.0?).
Thanks

--
Jim Freeze
Code Red. Code Ruby


1 Answer

Michael DeHaan

12/16/2004 2:29:00 AM

0

Jim,

Did you build this yourself?

If this is a problem with the stock install, I'd submit it to RedHat.
That's why you are paying for RHEL licenses... (But honestly I don't
remember Ruby being in RHEL3, so I guess not?)

Also Opteron x86 emulation is spot-on (especially compared with
EM64T), so if you can't find a way out, there is no shame in not using
x86_64 instructions...

--Michael


On Thu, 16 Dec 2004 07:43:18 +0900, jim@freeze.org <jim@freeze.org> wrote:
> Running EL3 on an opteron we get:
>
> [root@op2 root]# ruby -e 'require "tk"'
> /usr/lib64/ruby/1.8/x86_64-linux-gnu/tcltklib.so:
> /usr/lib64/ruby/1.8/x86_64-linux-gnu/tcltklib.so: undefined symbol: Tk_SafeInit - /usr/lib64/ruby/1.8/x86_64-linux-gnu/tcltklib.so (LoadError)
> from /usr/lib64/ruby/1.8/tk.rb:7
> from -e:1:in `require'
> from -e:1
> [root@op2 root]#
>
> Does anone know how to resolve this (using Ruby 1.8.0?).
> Thanks
>
> --
> Jim Freeze
> Code Red. Code Ruby
>
>