MySQL 5.7 mysqld_safe allows malloc-lib files only in certain locations.
google-perftools port puts libtcmalloc_minimal.so inside /usr/local/lib
To use tcmalloc memory allocator we need mysqld_safe to load libraries from /usr/local/lib
More information about why to use tcmalloc instead of jemalloc here:
PR: 248982
Sponsored by: Netzkommune GmbH