gcc: error: libgomp.spec: No such file or directory with Amazon Linux 2017.09.1

跟風遠走 提交于 2019-11-29 04:50:50

Sorry for answering my own question, but adding these three symbolic links allowed rJava to install on Amazon Linux 2017.09.1:

ln -s /usr/lib/gcc/x86_64-amazon-linux/6.4.1/libgomp.spec /usr/lib64/libgomp.spec
ln -s /usr/lib/gcc/x86_64-amazon-linux/6.4.1/libgomp.a /usr/lib64/libgomp.a
ln -s /usr/lib64/libgomp.so.1.0.0 /usr/lib64/libgomp.so

I had the same issue on Amazon Linux when installing rpy2. sudo yum install gcc64 solved it for me.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!