The mysql packages do not seem to ship libmysqld.so, the library which allows embedding the server into another program. $ mysql_config --libmysqld-libs -L/usr/lib/mysql -lmysqld -lz -lpthread -lcrypt -lnsl -lm -lpthread -lrt -L/usr/lib -lssl -lcrypto $ sudo yum whatprovides /usr/lib/mysql/libmysqld.so No Matches found Looks like these options need to be added to configure: --with-embedded-server --with-embedded-privilege-control $ rpm -q mysql-libs mysql-libs-5.0.45-1.fc7 Tested this on F7, but I took a peek at the .spec in devel and the flags don't seem to be there.
*** This bug has been marked as a duplicate of 149829 ***