for baselib in "$@"
do
shortlib=$baselib
while extn=$(echo $shortlib | sed 's/\.[0-9][0-9]*$//')
[ -n "$extn" ]
shortlib=$(basename $shortlib $extn)
ln -s $baselib $shortlib
done