[rrd-users] Install Problems on OS/X 10.4

Sam Umbach sumbach at gmail.com
Tue Apr 24 03:25:12 CEST 2007

On 4/17/07, Doug Kaye <doug at rds.com> wrote:
> Perhaps similar to what Phil reported last month, I'm having trouble
> installing 1.2.19 on OS/X.
> Here's my configure command. No errors are reported:
>         ./configure --prefix=$INSTALL_DIR --disable-python --disable-tcl
> make reports (I think this is the command in question):
> /bin/sh ../libtool --tag=CC --mode=link gcc  -O3 -fno-strict-aliasing
> ld: common symbols not allowed with MH_DYLIB output format with the -
> multi_module option
> /tmp/rrdbuild/lb/lib/libpng12.a(libpng12_la-pnggccrd.o) definition of
> common __ActiveMask (size 16)
> /tmp/rrdbuild/lb/lib/libpng12.a(libpng12_la-pnggccrd.o) definition of
> common __ActiveMask2 (size 16)
> /tmp/rrdbuild/lb/lib/libpng12.a(libpng12_la-pnggccrd.o) definition of
> common __ActiveMaskEnd (size 16)
> /tmp/rrdbuild/lb/lib/libpng12.a(libpng12_la-pnggccrd.o) definition of
> common __ShiftBpp (size 16)
> /tmp/rrdbuild/lb/lib/libpng12.a(libpng12_la-pnggccrd.o) definition of
> common __ShiftRem (size 16)
> /usr/bin/libtool: internal link edit command failed
> make[2]: *** [librrd.la] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> Unfortunately, this stuff is a little over my head. Tried 1.2.18 with
> the same results. All supporting libraries are installed.


Looking at the top of pnggccrd.c, it says " For Intel x86 CPU
(Pentium-MMX or later) and GNU C compiler."  Try using
scripts/makefile.darwin and see if this resolves the problem.  I can't
believe how bad the build system is for such a widely used library.

Another option is to use libpng (and rrdtool) from fink.  Very nice
people have put together a comprehensive library of tools for OSX
distributed via the fink system.  If you haven't used it, check it
out.  It will probably save you a lot of headaches getting everything
to build on OSX.


More information about the rrd-users mailing list