TWS under RH-64 Linux

Does anyone know if IBs TWS will run under Linux?

I just downloaded the jar files (weird tho, looks like the mac and unix file is the same) and when I tried to run it, I got an exception:

"GtkMain": java.lang.UnsatisfiedLinkError: gktInit

nitro
 
Yes, I have run it under Fedora Core 3. As it's in Java, the jar file should be the same. You might want to install gtk devel package to see if it goes away.
 
Quote from nitro:

Does anyone know if IBs TWS will run under Linux?

I just downloaded the jar files (weird tho, looks like the mac and unix file is the same) and when I tried to run it, I got an exception:

"GtkMain": java.lang.UnsatisfiedLinkError: gktInit

nitro

I'm running one at work with Red Hat (I think enterprise version) and it runs extremely well. I can't offer any specifics with your case but you can try sending a mail to tac@inter....com who may be able to help.
 
Quote from nitro:

"GtkMain": java.lang.UnsatisfiedLinkError: gktInit
It looks like it's trying to initialize gtk and can't find it. Do you have Gnome Toolkit properly installed? Is java properly installed? Not that this post is much overt help, but in the past I have had a few ugly little linux problems, and it's usually that I've compiled something into the wrong directory or don't have it installed properly. Specifically, I was trying to install GStalker on Linux, and it WAS my GTK+ that wasn't working. I had compiled it into the wrong directory. The install file told me one thing, and the app required another directory. I unhappily don't remember how I fixed it, but it was a one-line fix that I found through Google and hours of stress. But after that, everything was peachy-keen. Perhaps try to install the GStalker app and see if that one works -- it's also dependent on GTK+.
 
Quote from Trader.NET:

Yes, I have run it under Fedora Core 3. As it's in Java, the jar file should be the same. You might want to install gtk devel package to see if it goes away.
Thanks, I will give it a try.

nitro
 
Quote from def:

I'm running one at work with Red Hat (I think enterprise version) and it runs extremely well. I can't offer any specifics with your case but you can try sending a mail to tac@inter....com who may be able to help.
Thanks Dave, if I can't figure it out I will send them an email.

nitro
 
Quote from cable:

It looks like it's trying to initialize gtk and can't find it. Do you have Gnome Toolkit properly installed? Is java properly installed? Not that this post is much overt help, but in the past I have had a few ugly little linux problems, and it's usually that I've compiled something into the wrong directory or don't have it installed properly. Specifically, I was trying to install GStalker on Linux, and it WAS my GTK+ that wasn't working. I had compiled it into the wrong directory. The install file told me one thing, and the app required another directory. I unhappily don't remember how I fixed it, but it was a one-line fix that I found through Google and hours of stress. But after that, everything was peachy-keen. Perhaps try to install the GStalker app and see if that one works -- it's also dependent on GTK+.
Thanks for the tips.

All the software was installed for me. I will research more carefully if GTK+ is installed.

nitro
 
Quote from nitro:

Thanks Dave, if I can't figure it out I will send them an email.

nitro

if you don't have luck send me an e-mail and I'll figure out exactly what's installed on my system to figure out where your problem lies. I'd rate myself pretty knowledgable on Unix but I've got a long way to go on Linux though.
 
I haven't tried AMD 64 Linux yet, so I'm just shooting in the dark, but here's a couple of ideas -

Are you running 32 bit or 64 bit jvm ? If 32 bit then even though gnome/gtk 64 bit libs may be installed, 32 bit may not be or they are not being loaded. And visa versa.

Try locating all gtk libs on the system -

find / -name "*gtk*so*" -print 2>/dev/null

You can force any binary to amend it's search path for shared libs with the LD_LIBRARY_PATH environment variable eg

export LD_LIBRARY_PATH=/usr/mylibs:$LD_LIBRARY_PATH

will cause /usr/mylibs to be searched for shared libraries first before anywhere else.
 
Thanks,

That is a good try. I get the same error:

[idf@sync-dell IBJts]$ java -cp jts.jar:jcommon-0.9.0.jar:jfreechart-0.9.15.jar jclient.LoginFrame .

Exception in thread "GtkMain" java.lang.UnsatisfiedLinkError: gtkInit
at _Jv_LookupJNIMethod (/usr/lib64/libgcj.so.5.0.0)
at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) (/usr/lib64/libgcj.so.5.0.0)
at gnu.java.awt.peer.gtk.GtkMainThread.run() (Unknown Source)
at java.lang.Thread.run() (/usr/lib64/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/libgcj.so.5.0.0)
at GC_start_routine (/usr/lib64/libgcj.so.5.0.0)
at __clone (/lib64/tls/libc-2.3.4.so)

[idf@sync-dell IBJts]$

nitro


Quote from dcraig:

I haven't tried AMD 64 Linux yet, so I'm just shooting in the dark, but here's a couple of ideas -

Are you running 32 bit or 64 bit jvm ? If 32 bit then even though gnome/gtk 64 bit libs may be installed, 32 bit may not be or they are not being loaded. And visa versa.

Try locating all gtk libs on the system -

find / -name "*gtk*so*" -print 2>/dev/null

You can force any binary to amend it's search path for shared libs with the LD_LIBRARY_PATH environment variable eg

export LD_LIBRARY_PATH=/usr/mylibs:$LD_LIBRARY_PATH

will cause /usr/mylibs to be searched for shared libraries first before anywhere else.
 
Back
Top