Hello.  I'm posting a fresh message because my previous one may have been absorbed 
into a previous thread -- my mistake.

I'm attempting to get vpopmail set up with all the MySQL additions on a fully 
DJB-ified but otherwise out-of-the box install of OpenBSD 3.4 (GENERIC) on an Intel 
Pentium 4 machine.  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 can compile and install successfully without MySQL support.

vpopmail 5.4.0 and 5.4.2 produce very similar output.  Here's the end of the output 
from "make" with 5.4.0...

- - - - - -
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).
- - - - - -

There was a suggestion that I might need to add -lm to the linker flags, but I'd hope 
that would be found without problem.  From "ldconfig -r"...
  
  7:-lm.1.0 => /usr/lib/libm.so.1.0

Any help much appreciated.
Alex

Reply via email to