in reply to DBD mysql

Use the otool utility on mysql.so and similar files. This will show all the dependencies it is expecting, and should highlight the ones it cannot find.

I'm not in front of a mac at the moment so cannot test, but it should be something like this:

otool -l /usr/local/lib/perl5/site_perl/5.38.2/x86_64-linux/auto/DBD/mysql/mysql.so

An example with output is at this link: https://forums.developer.apple.com/forums/thread/705281.