I built a qt application on Ubuntu karmic. I transferred the binary to a red hat Linux enteprise 5.3 system and when I click on the program it doesn't do anything. Are they compatible or am I forgetting something? both computers run a quad-core 64bit cpu
feedback
|
|
Generally, no. You can of course recompile if you have the source code. The reason this fails could be one of several things, but generally applications fail to transfer from one to the other because they are linked to dynamic libraries that are not provided by the other platform. ("Not provided" here can also mean "provides the wrong version", or "provided, but not in the expected place" in addition to "just not there".) If you build a static binary, chances are much better that it will run, because it doesn't depend on external libraries. That's not a guarantee -- you could still end up with a binary that won't run on the other platform due to kernel incompatibilities or other problems. If you run the program on the commandline, you should get an error message that will help you determine exactly why it fails to run. | |||
feedback
|
|
Well, you probably need to install QT (the gui library from Troll Tech) that KDE is based on. Just keep trying until it works, install the library (which is easy enough with yum, probably, perhaps you will need to make a sym link from the version it wants to the version you have. | |||
feedback
|