atom feed3 messages in net.sourceforge.lists.courier-users[courier-users] Build problems with 0...
FromSent OnAttachments
Paul PhilionOct 4, 2000 7:56 am 
Leonid AndreevOct 4, 2000 9:59 am 
Juha SaarinenOct 4, 2000 2:02 pm 
Subject:[courier-users] Build problems with 0.28 under RedHat 7.0
From:Paul Philion (phil@acmerocket.com)
Date:Oct 4, 2000 7:56:30 am
List:net.sourceforge.lists.courier-users

Greetings...

I've been having strange problems since my installation of RedHat 7 (a foolish move, I've since discovered). I decided it was time to upgrade to the latest courier (0.28, I was/am running 0.26).

I downloaded the latest stable tar.gz and gave it the good old "rpm -ta courier-0.28.tar.gz". It runs along quite nicely for awhile, until I get to:

gcc -O2 -march=i386 -mcpu=i686 -Wall -I.. -I./.. -o authmysql modauthmysql.o libauthmod.a libauth.a ../libhmac/libhmac.a ./md5/libmd5.a -lcrypt -lmysqlclient -lm libauth.a(authmysqllib.o): In function `do_connect': authmysqllib.o(.text+0x373): undefined reference to `mysql_error' libauth.a(authmysqllib.o): In function `auth_mysql_getuserinfo': authmysqllib.o(.text+0x6ae): undefined reference to `mysql_num_rows' collect2: ld returned 1 exit status make[1]: *** [authmysql] Error 1 make[1]: Leaving directory `/home/philion/rpm/BUILD/courier-0.28/authlib' make: *** [all-recursive] Error 1 Bad exit status from /var/tmp/rpm-tmp.15650 (%build)

So it seems that there is a problem building the MySQL stuff. I double checked, and I have all the MySQL stuff loaded and running (version 3.23.24-1, according to RPM), including mysql-devel.

What the problem?

Thanks,