It's failing here: gcc -shared -L/usr/local/lib RRDs.o -L../../src/.libs/ -lrrd -o blib/arch/auto/RRDs/RRDs.so -lm -lpng -lz -lfreetype
/usr/bin/ld: cannot find -lpng collect2: ld returned 1 exit status make: *** [blib/arch/auto/RRDs/RRDs.so] Error 1 rbandi wrote: > > Yes, libpng has been installed. I have also exported the below variabled > before building rrd > > IR=-I$BUILD_DIR/lb/include > CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng" > LDFLAGS="-L$BUILD_DIR/lb/lib" > CFLAGS=-O3 > export CPPFLAGS LDFLAGS CFLAGS > > configure went through, but make failed. > > > > Joshua Keroes-2 wrote: >> >> Have you installed libpng? if so, you may have to specify the path to >> libpng.so (see ./configure --help for help specifying the proper syntax) >> >> On Mon, Oct 12, 2009 at 2:58 PM, rbandi <[email protected]> wrote: >> >>> >>> I'm building rrdtool 1.2.30 on Red Hat Linux 4.0. I was able to build >>> the >>> dependencies successfully by following rrdbuild.txt file. I'm getting >>> the >>> following error when building the rrdtool. configure went through, but >>> the >>> build was failed. >>> >>> ./configure --prefix=$INSTALL_DIR --disable-python --disable-tcl >>> --disable-perl (works fine) >>> >>> ./configure --prefix=$INSTALL_DIR --disable-python --disable-tcl (failed >>> with the below error) >>> >>> /usr/bin/ld: cannot find -lpng >>> collect2: ld returned 1 exit status >>> make[4]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1 >>> make[4]: Leaving directory >>> `/home/rbandi/tmp/rrdbuild/rrdtool-1.2.30/bindings/perl-shared' >>> make[3]: *** [perl_shared] Error 2 >>> make[3]: Leaving directory >>> `/home/rbandi/tmp/rrdbuild/rrdtool-1.2.30/bindings' >>> make[2]: *** [all-recursive] Error 1 >>> make[2]: Leaving directory >>> `/home/rbandi/tmp/rrdbuild/rrdtool-1.2.30/bindings' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/home/rbandi/tmp/rrdbuild/rrdtool-1.2.30' >>> make: *** [all] Error 2 >>> >>> Please help me to resolve this. Thanks for your help in advance. >>> -- >>> View this message in context: >>> http://n2.nabble.com/rrdtool-build-failing-with-perl-modules-tp3810994p3810994.html >>> Sent from the RRDtool Users Mailinglist mailing list archive at >>> Nabble.com. >>> >>> _______________________________________________ >>> rrd-users mailing list >>> [email protected] >>> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users >>> >> >> _______________________________________________ >> rrd-users mailing list >> [email protected] >> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users >> >> > > -- View this message in context: http://n2.nabble.com/rrdtool-build-failing-with-perl-modules-tp3810994p3814011.html Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com. _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
