Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where as the binary output file from machine 1 runs only on that machine itself.
When i copy the binary file from machine 1 to machine 2 and try to run it, it gives me "cannot execute binary file" error.
On doing ldd <name-of-file> it gives me "execution failed <name-of-file>: Exec format error"
Running ldd on the same file and on the machine on which it was build, works fine and resolves the dependencies.
Does any one have any idea why this happeneing?
I need to migrate from machine 2 to machine 1, but unable to do so cause of this error.
Regards
Sachin