开发者

Fedora 8/EC2: ld cannot find library

开发者 https://www.devze.com 2023-01-06 20:12 出处:网络
I\'m trying to get gcc to work on an Amazon EC2 image of Fedora 8, but I\'m running into an issue with the libraries.ld is not finding -lz -lm -lbz2.

I'm trying to get gcc to work on an Amazon EC2 image of Fedora 8, but I'm running into an issue with the libraries. ld is not finding -lz -lm -lbz2.

I've tried adding -L /lib and -L /usr/lib to the arguments for gcc, but it 开发者_如何学Gois still not working.

What am I missing?


Where are the libraries located? Did you locate the libs at the paths you are using with the -L option?

0

精彩评论

暂无评论...
验证码 换一张
取 消