I have been trying to deploy my anchor project on the local net. I started by running solana-test-validator
and then anchor deploy
but I keep receiving this error:
Error: ELF error: ELF error: Multiple or no text sections, consider removing llc option: -function-sections
There was a problem deploying: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "" }.
Here are the versions that I am using:
anchor-cli 0.28.0
solana-cli 1.16.17
Any help would be appreciated