Hello.  Just joined the list after consulting the archives and finding a message 
detailing what looks like a very similar problem to the one I'm having, though on 
Solaris 9.  If I were more knowledgeable, I'm sure this would be enough, but I'm 
afraid I need a bit more hand-holding.

I'm attempting to get vpopmail set up with all the MySQL additions on a fully 
DJB-ified install of OpenBSD 3.4.  I'm using the OpenBSD distribution of MySQL 
(mysql-standard-4.0.16-unknown-openbsd3.4-i386), which seems to be the cause of the 
problem, as I compiled and installed successfully without MySQL support.  

vpopmail 5.4.0 and 5.4.2 produce very similar output.  Here's 5.4.0...

$ ./configure --enable-roaming-users \
>   --enable-logging=p \
>   --enable-auth-module=mysql \
>   --enable-mysql-logging \
>   --enable-tcpserver-file=/var/vpopmail/etc/tcp.smtp \
>   --enable-valias

- - - - SNIP - - - - -
cd . && /bin/sh ./config.status Makefile 
config.status: creating Makefile
rm -f libvpopmail.a
ar cru libvpopmail.a vpopmail.o md5.o bigdir.o  vauth.o file_lock.o vpalias.o  seek.o 
vlimits.o maildirquota.o cdb/*.o
ranlib libvpopmail.a
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a 
-L/usr/local/mysql/lib  -lmysqlclient -lz 
/usr/local/mysql/lib/libmysqlclient.a(password.o): In function `scramble':
password.o(.text+0x1c8): undefined reference to `floor'
password.o(.text+0x25d): undefined reference to `floor'
/usr/local/mysql/lib/libmysqlclient.a(password.o): In function `check_scramble':
password.o(.text+0x40a): undefined reference to `floor'
password.o(.text+0x498): undefined reference to `floor'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /var/src/mail/vpopmail-5.4.0 (line 424 of Makefile).
*** Error code 1

Stop in /var/src/mail/vpopmail-5.4.0 (line 511 of Makefile).
*** Error code 1

Stop in /var/src/mail/vpopmail-5.4.0 (line 335 of Makefile).

- - - - - - - - - -

Any and all help appreciated.

Reply via email to