Building RRDTool on Centos/Redhat x86_64 Systems

22 October, 2009 (12:14) | Unix | By: Scott

I just ran into this one and thought someone else might find it useful. I was trying to compile rrdtool under Centos5 x86_64 so that I could have access to the perl libraries. It seems like rrdtool can get confused when looking for dependencies. First, install the dependencies via yum:

# yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel

Then set the PKG_CONFIG_PATH environment variable to point to the 64-bit pkgconfig directory:

export PKG_CONFIG_DIR=/usr/lib64/pkgconfig

Run configure with the –libdir flag:

./configure --libdir=/usr/lib64

You should now be able to cleanly compile the 64-bit version of rrdtool.

Write a comment

You need to login to post comments!