Musl linux gcc references missing shared library

User space binaries output by:

gcc version 10.2.0 (Xuantie-900 linux-5.10.4 musl gcc Toolchain V2.6.1 B-20220906)

link to:

However, the buildroot image has only:

One fix that seems to work is to simply:
ln -s

Is there a better way to fix this problem?


export LDFLAGS="-mcpu=c906fdv -march=rv64imafdcv0p7xthead -mcmodel=medany -mabi=lp64d"


That works. Thank you!