repost: shared lib from a static shared lib

How to obtain a full shared library from a static shared library?

It seems that there is a problem in the customize_lib script given in
the customizable shared libs.
the shell doesn’t really like what it’s done in it!

Thanks,
Alain.