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 is still not working.
What am I missing?