I want to compile the SQL source plugin myself. The reference documentation is:

After modifying the source code, I executed the following command in a CentOS 7 virtual machine on Windows:
go build -trimpath --buildmode=plugin -o plugins/sources/Sql.so extensions/sources/sql/*.go
This produced Sql.so, which I placed in the sql directory and then compressed into a sql.zip file. The directory structure is as follows:
.
├── Sql.so
├── ext
│ ├── convert.go
│ ├── sql.go
│ ├── sqlLookup.go
│ └── sql_test.go
├── sql.go
├── sql.json
├── sql.yaml
└── sqlLookup.go
The .zip file uploaded successfully, but the plugin could not be created. The error message is as follows:

How to resolve it?
I want to compile the SQL source plugin myself. The reference documentation is:

After modifying the source code, I executed the following command in a CentOS 7 virtual machine on Windows:
go build -trimpath --buildmode=plugin -o plugins/sources/Sql.so extensions/sources/sql/*.goThis produced
Sql.so, which I placed in thesqldirectory and then compressed into asql.zipfile. The directory structure is as follows:The .zip file uploaded successfully, but the plugin could not be created. The error message is as follows:

How to resolve it?