Ken.
Thanks for your advice.
But I went wrong after adding that commands.
I did over again from scratch.
Therefore I did well.
I guess that somefiles were not rewrited on ./configure after when I added
some env options.
Now, I got success til executing imapd.
But I've not tried it yet.
Thanks.
----- Original Message -----
From: "Ken Jones" <[EMAIL PROTECTED]>
To: "yamada" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 12, 2001 9:47 PM
Subject: Re: Courier-IMAP and Vpopmail make error
> Try puting something like this in front of your configure line
> for courier-imap:
>
> env "LIBS=-L/usr/lib/mysql -lmysqlclient -lz" \
> ./configure .....
>
> Ken Jones
>
> yamada wrote:
> >
> > Hello. I'm trying to install the Courier-IMAP and vpopmail.
> > But I occured an error when I did "make".
> > I investigated a lot of informations but I wasn't able to solve it
myself.
> >
> > Please tell me what's the problem.
> >
> > - Environment
> >
> > Red Hat Linux release 7.0.1J (Guinness)
> > Kernel 2.2.16-22 on an i686
> >
> > qmai l.03
> > MySQL 3.22.32
> > vpopmail 4.9.10
> > courier-imap 1.3.8.1
> >
> > - error details
> >
> >
> > :
> > :
> >
> > $ make
> > Making all in numlib
> > make[1]: Entering directory `/usr/local/src/courier-imap-1.3.8.1/numlib'
> > make[1]: Leaving directory `/usr/local/src/courier-imap-1.3.8.1/numlib'
> > Making all in gdbmobj
> > make[1]: Entering directory
`/usr/local/src/courier-imap-1.3.8.1/gdbmobj'
> > make[1]: Leaving directory `/usr/local/src/courier-imap-1.3.8.1/gdbmobj'
> > Making all in soxwrap
> > make[1]: Entering directory
`/usr/local/src/courier-imap-1.3.8.1/soxwrap'
> > gcc -g -O2 -L/usr/local/mysql/lib/mysql -o testprog testprog.o
> > libsoxwrap.a -lnsl `cat soxlibs.dep`
> > make[1]: Leaving directory `/usr/local/src/courier-imap-1.3.8.1/soxwrap'
> > Making all in unicode
> > make[1]: Entering directory
`/usr/local/src/courier-imap-1.3.8.1/unicode'
> > /usr/bin/perl ./unicodefilter.pl "no" \
> > "no" <./charsetlist.txt | \
> > /usr/bin/perl ./charsetlist.pl >charsetlist.c
> >
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/mysql/include/mysql -g -O2 -
> > Wall -c charsetlist.c
> >
> > :
> > :
> >
> > /usr/local/src/vpopmail-4.9.10/vauth.c:620: undefined reference to
> > `mysql_free_result'
> > /var/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vcreate_dir_control':
> > /usr/local/src/vpopmail-4.9.10/vauth.c:924: undefined reference to
> > `mysql_free_result'
> > collect2: ld returned 1 exit status
> > make[1]: *** [authvchkpw] error 1
> > make[1]: Leaving directory `/usr/local/src/courier-imap-1.3.8.1/authlib'
> > make: *** [all-recursive] error 1
> >
> > yamada
>