Environment:
Linux 2.6.9
glibc 2.3.3, gcc 3.3.3
Fedora Core 2
MySQL 4.0.21
Postfix 2.0.18
courier-authlib 0.50.20041120
courier-imap 3.0.8
I am having a heck of a time trying to get the libauthmysql.so to
compile in courier-authlib. The MySQL libraries and include files are
in /usr/lib/mysql and /usr/include/mysql respectively. I've put
/usr/lib and /usr/include in my /etc/ld.so.conf file and ran ldconfig.
I've also tried using /usr/lib/mysql and /usr/include/mysql. And
putting the --with-mysql-libs and --with-mysql-include options in the
spec file.
But when I go to compile the rpm using rpmbuild -ta <tarball>, it
creates the courier-authlib-mysql rpm with no files in it. Looking in
the BUILD directory I'm finding that it doesn't create any
libauthmysql.so file.
The MySQL rpms that I'm using are from mysql.com, not Fedora. I have
however tried doing the same thing on another Fedora Core 2 box with the
Fedora mysql-devel-3.23.58-9 rpm installed and had the same results.
Another person on the #fedora IRC channel tried building the rpm from
the tarball directly and was able to build the files for the
authlib-mysql rpm perfectly.
Any ideas why its not building it for me? Maybe I'm missing some
other rpm or libraries?