I'm getting the following build-errors on Mac OS X 10.4.6 Server when running 'make' for rrdtool 1.2.19:
ld: common symbols not allowed with MH_DYLIB output format with the - multi_module option ./.libs/librrdupd.a(rrd_nan_inf.o) definition of common _dinf (size 8) ./.libs/librrdupd.a(rrd_nan_inf.o) definition of common _dnan (size 8) /usr/bin/libtool: internal link edit command failed make[2]: *** [librrd.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 My build process is as follows (gzip is included in Mac OS X, so no need to build it as well): curl -O http://umn.dl.sourceforge.net/sourceforge/libpng/ libpng-1.2.16.tar.bz2 md5 libpng-1.2.16.tar.bz2 tar -xjf libpng-1.2.16.tar.bz2 pushd libpng-1.2.16 ./configure --prefix=/usr/local make sudo make install popd curl -O http://download.savannah.gnu.org/releases/freetype/ freetype-2.1.10.tar.bz2 tar -xjf freetype-2.1.10.tar.bz2 pushd freetype-2.1.10 env CFLAGS="-O3 -fPIC" ./configure --prefix=/usr/local make sudo make install popd curl -O http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/ libart_lgpl-2.3.17.tar.bz2 md5 libart_lgpl-2.3.17.tar.bz2 tar -xjf libart_lgpl-2.3.17.tar.bz2 pushd libart_lgpl-2.3.17 env CFLAGS="-O3 -fPIC" ./configure --disable-shared --prefix=/usr/local make sudo make install popd curl -O http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.19.tar.gz tar -xzf rrdtool-1.2.19.tar.gz pushd rrdtool-1.2.19 env CPPFLAGS="-I/usr/local/include -I/usr/local/include/libart-2.0 \ -I/usr/local/include/freetype2" LDFLAGS="-L/usr/local/lib" CFLAGS=-03 \ ./configure --prefix=/usr/local --disable-python --disable-tcl make ... and that's where it fails. ./configure does complete successfully. I've tried with and without "--disable-python" & "-- disable-tcl". Obviously, I'm putting all my libraries right in /usr/local/lib as opposed to putting them in in 'ld' in the rrdtool install, but that shouldn't matter. I don't have any other versions of libpng, freetype, or libart_lgpl installed. Any suggestions? Morgan Aldridge -- [EMAIL PROTECTED] http://www.makkintosshu.com/ _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
