v.23.1Build/Testing/Packaging Improvement

Removed Support for Shared Linking

We removed support for shared linking because of Rust. Actually, Rust is only an excuse for this removal, and we wanted to remove it nevertheless. #44828 (Alexey Milovidov).