[collectd] Collectd rpm spec file for collectd 4.0.6 on Fedora 7

Sebastian Harl sh at tokkee.org
Wed Aug 8 22:14:18 CEST 2007

Hi Kjell,

On Tue, Aug 07, 2007 at 02:10:48PM +0200, Kjell Randa wrote:
> I have also found an issue with the mysql plugin on Fedora 7.
> The libmysqlclient is found in either /usr/lib64/mysql (x86_64) or 
> /usr/lib/mysql (i386) on Fedora and the build probably looks for it in 
> /usr/lib64 or /usr/lib.

Are you sure there is no /usr/lib/mysql on 64 bit architectures? As far as I
understand the FHS /usr/lib64 should only contain _alternate_ binary formats.
As 64 bit systems usually run 64 bit binaries natively, libs should be put in
/usr/lib ;-)

> Running configure --with-libmysql=/usr/lib64/mysql, the configure script 
> adds /lib to this path (/usr/lib64/mysql/lib) and the libmysqlclient is 
> not found. It also adds an non exsisting include path 
> -I/usr/lib64/mysql/include.

The with-libmysql value is supposed to be a prefix, that's why adding "/lib"
and "/include" to it makes sense to look for libraries and header files. If
you can think of a more flexible way to check for it, please let us know :-)


Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070808/a4ddc56c/attachment.pgp 

More information about the collectd mailing list