How to run applications on soaris 9 , built on soalris 10

We used to get 'libc.so.1: version SUNW_1.22 not found' error when we try to run our applications on soalris 9 and our apps are built on solaris 10.

we can overcome this by disabling version checking with LD.

export LD_NOVERSION=1
and


on 32-bit machine
export LD_NOVERSION_32=1

on 64-bit machine
export LD_NOVERSION_64=1


Sometimes this trick may not work, if we are using latest C functions which are available in soalris 10(libc) and not available in Soalris 9 (libc).