Linker error in voidlinux [solved]

As I told I'm running voidlinux.
After search about this cc linker error, everybody indicates you have to install gcc collection. But I've got it installed.

gcc --version

gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Any suggestion?

Thanks in advance.

I reply myself.
I get the answer in #voidlinux channel on freenode.

It was a symbolic link issue fixed with
xbps-install -f gcc