Fedora 8/EC2: ld cannot find library
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?
精彩评论