/usr/bin/ld: crti.o: No such file: No such file or directory


Problem : You are running a 64-bit linux system and trying to compile a 32-bit application and you get this error :

/usr/bin/ld: crti.o: No such file: No such file or directory

Explainations :

Usually crti.o is found in /usr/lib64/ and /usr/lib32/

In this case /usr/lib32/ does not even exists.

Solution :

sudo yum install glibc-devel.i686


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM