> /home/imsicatcher/osmocom-bb/src/shared$ sudo ./update-libosmocore.sh
Where have you found this?!?
AFAIR, the wiki clearly states how to install libosmocore, and there was
nothing written about this script. Please read the wiki carefully first.
With best regards,
Vadim Yanitskiy.