executable compiled on solaris 10 not working on solaris 9
Hi
I compiled an executable on Solaris 10 which creates semaphore ( semget) but it didn't work on solaris 9 , while it is executing sucessfully on solaris 10. the ldd for the executable on two servers is as follows:- on solaris 9:- % pldd 16373 16373: ./a.out /.SUNWnative/usr/lib/brand/solaris9/sparcv9/s9_preload.so.1 /usr/lib/sparcv9/libCstd.so.1 /usr/lib/sparcv9/libCrun.so.1 /usr/lib/sparcv9/libm.so.1 /usr/lib/sparcv9/libc.so.1 /usr/lib/sparcv9/libdl.so.1 /usr/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 on solaris 10:- % pldd 28447 28447: a.out /usr/lib/sparcv9/libCstd.so.1 /usr/lib/sparcv9/libCrun.so.1 /lib/sparcv9/libm.so.1 /lib/sparcv9/libc.so.1 /platform/sun4v/lib/sparcv9/libc_psr.so.1 It is dependant upon this additional preload.so.1 on solaris9 Can anyone suggest what needs to be changed. |
What doesn't work ?
Did you try to recompile it under Solaris 9 ? The preload you see in pldd is due to the application running in a Solaris 9 branded zone on top of Solaris 10 instead of running on a bare Solaris 9 installation. |
Hi
Actually it was intended to compile it on solaris 10 and install and test on solaris 9 , that was the intended target. |
It might not be the issue in your case but compiling in a newer release than the intended target is unsupported.
|
All times are GMT -5. The time now is 04:39 AM. |