Any way to access shared object using shell

Hi,

I have created a shared object (abc.so) which has a function sum(int a, int b).
Is there any way to load the "abc.so" and use the sum function using shell script..
thanks in advance

I understand ksh has a facility for this, but in the general case, the answer is no; you'd have to create a wrapper in C or some other language.

Only ksh93 (not ksh88 or pdksh) has this ability. However there is very little good or accurate documentation on this subject. Attached is a pdf of an recent article which shows you by example how to write such extensions.