I am running DolphinDB Server (version 2.00.16.4) on a Linux virtual machine on my MacBook (Apple Silicon / ARM architecture).
When I try to load the MySQL plugin, I encounter the following error:
loadPlugin("mysql")
// Error output:
// Couldn't load the dynamic library [/home/parallels/dolphindb/server/plugins/mysql/libPluginMySQL.so]:
// /home/parallels/dolphindb/server/plugins/mysql/libPluginMySQL.so: cannot open shared object file: No such file or directory
I have confirmed the following:
- The file path /home/parallels/dolphindb/server/plugins/mysql/libPluginMySQL.so exists.
- The environment variables (like LD_LIBRARY_PATH) are configured correctly.

I encounter the exact same error when trying to load other plugins like odbc or zip.
Since my DolphinDB server is the ARM version running on an ARM VM , but I suspect the plugins I downloaded might be compiled for x86. Could this architecture mismatch be the cause of the "No such file or directory" error even when the file exists? If so, how can I resolve this issue to run these plugins on my Mac?