OP
Seems to be working here for me (a backup machine so not doing much, but I can certainly start-up MySQL 5.7.33 without errors):
If you manually copied the .so file (/usr/local/lib/libtcmalloc_minimal.so to /usr/lib/), did you copy the newer version across (i.e. after the upgrade to 2.8.1)?
Code:
% pkg info | grep perf google-perftools-2.8.1 Fast, multi-threaded malloc() and nifty performance analysis tools ... % cat /usr/local/etc/mysql/my.cnf | grep malloc # tcmalloc to see if it helps on FreeBSD 12.x (instead of newer jemalloc) #malloc-lib=/usr/lib/libtcmalloc_minimal.so malloc-lib=/usr/lib/libtcmalloc_minimal.so