[rrd-users] pre req install issueses

nate rrdtool at aphroland.org
Wed Jul 9 21:13:13 CEST 2008


Michael Di Martino wrote:

> I complied freetype2 as follows.
>             cd $BUILD_DIR
>             wget
> http://oss.oetiker.ch/rrdtool/pub/libs/freetype-2.1.10.tar.bz2
>             tar jxvf freetype-2.1.10.tar.bz2
>             cd freetype-2.1.10
>             env CPPFLAGS="-I$BUILD_DIR/lb/include"
> LDFLAGS="-L$BUILD_DIR/lb/lib" CFLAGS="-O3 -fPIC" ./configure
> --disable-shared --prefix=$BUILD_DIR/lb

How about taking out the --disable-shared ? Or just don't specify
(CPP|LD)FLAGS at all and let configure do it's job ?

[cacti at dc1-mon002:~/bin]$ ldd /usr/bin/rrdtool
        librrd.so.2 => /usr/lib64/librrd.so.2 (0x00000030a7900000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000003c34200000)
        libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000003c35000000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000003c32300000)
        libart_lgpl_2.so.2 => /usr/lib64/libart_lgpl_2.so.2
(0x0000003c36200000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x0000003c32a00000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000003c32500000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003c32100000)

nate




More information about the rrd-users mailing list