Subject: Re: correct use of '-lm' for mysql-client?
To: Andrew Gillham <>
From: Ignatios Souvatzis <>
List: tech-pkg
Date: 04/29/2000 15:19:48
On Fri, Apr 28, 2000 at 10:27:35PM -0400, Andrew Gillham wrote:
> Hello,
> The mysql-client library '' makes use of the
> floor(3) call from libm, but it doesn't appear to be linked
> against it.  Is this supposed to resolve at runtime via ld.elf_so?

The programs using libmysqlclient need to link -lm, too, in this case.

> Anyway, for php3-mysql I can just add a '-lm' under the do-build target,
> but is this correct?


> Is the mysql-client broken since it doesn't appear
> to be linked against libm?


 * Progress (n.): The process through which Usenet has evolved from
   smart people in front of dumb terminals to dumb people in front of
   smart terminals.  -- (obscurity)