I downloaded the file /home/smarlowe/MySQL-devel-5.0.15-0.glibc23.i386.rpm (had to trick the mysql site into giving it to me, it's written to make like easier, which, through the law of unintended consequences, makes life harder) by copying the URL for th 5.0.17 file and changing the 17 to 15 when I pasted it.
I just built my machine, so now it has libgd, oracle, postgresql, and mysql libs in it. Here's my configure script to set it up, if anyone wants it.
./configure \
--with-oci8-instant-client \
--with-pgsql \
--with-apxs2=/usr/sbin/apxs \
--with-ttf \
--enable-gd-native-ttf \
--with-jpeg \
--with-freetype \
--with-xpm \
--enable-memory-limit \
--with-gd \
--with-jpeg-dir=/usr/lib/ \
--with-ldap \
--with-ldap-sasl \
--with-mysqli=/usr/bin/mysql_config \
--with-zlib