安装cuda报错:./cuda-installer: error while loading shared libraries: libxml2.so.2
在docker内安装cuda11.0时报如下错:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-kNmztCit-1629940173644)(/home/bhts/.config/Typora/typora-user-images/image-20210825155749128.png)]
解决方案
apt update
apt install libxml2