且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到/lib/libc.so.6

更新时间:2023-02-02 21:09:42

您没有指出要使用的gcc版本,但是如果它是最新版本(我认为高于4.0.0),则应尝试使用-sysroot标志到g ++/ld.将其指向Makefile中定义的$ SYSROOT.

You didn't indicate what gcc version you are using, but if it is a recent enough one (4.0.0 and above me thinks) you should try the -sysroot flag to g++/ld. Point it to $SYSROOT as defined in your Makefile.

假设最近的gcc版本足够,它将起作用.

Assuming recent enough gcc version, it will work.

希望这会有所帮助, 吉拉德

Hope this helps, Gilad