In the last episode (Oct 07), Robert Covell said:
> Trying to use the binary distribution and whenever I build against it I get:
>
> gcc -g -o pwcheck pwcheck.o pwcheck_mysql.o
> ../lib/libcyrus.a -lcrypt -lmysqlclient
> /usr/lib/libmysqlclient.a(password.o): In function `scramble':
> password.o(.text+0x268): undefined reference to `floor'
> password.o(.text+0x2bd): undefined reference to `floor'
> /usr/lib/libmysqlclient.a(password.o): In function `check_scramble':
> password.o(.text+0x37c): undefined reference to `floor'
> password.o(.text+0x3dc): undefined reference to `floor'
> *** Error code 1
> Stop in /usr/local/cyrus-imapd-1.5.24-BETA/pwcheck.
> *** Error code 1
> Stop in /usr/local/cyrus-imapd-1.5.24-BETA
Add -lm to link in the math library.
--
Dan Nelson
dnelson@stripped
| Thread |
|---|
| • FreeBSD Problems | Robert Covell | 9 Oct |
| • Re: FreeBSD Problems | Dan Nelson | 9 Oct |