GraphicsMagick not installing on OS X Lion

Help
2012-01-25
2013-03-27
  • Markos Kapes

    Markos Kapes - 2012-01-25

    I'm not getting graphicsmagick 1.3.1 or -HEAD from the repository to install on OS X. The error messages are as follows:

    depbase=`echo utilities/gm.o | sed 's|*$|.deps/&|;s|\.o$||'`;\
            gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./magick  -I. -I. -DLT_CONFIG_H='<magick/magick_config.h>' -DLTDL -I. -I. -Iltdl -I./ltdl -I./ltdl/libltdl -I./Magick++/lib -I/usr/include/libxml2  -fopenmp -g -O2 -Wall -D_THREAD_SAFE -MT utilities/gm.o -MD -MP -MF $depbase.Tpo -c -o utilities/gm.o utilities/gm.c &&\
            mv -f $depbase.Tpo $depbase.Po
    /bin/sh ./libtool  -tag=CC   -mode=link gcc -std=gnu99  -fopenmp -g -O2 -Wall -D_THREAD_SAFE -L/usr/X11/lib -R/usr/X11/lib -L/usr/X11/lib -L/usr/lib -L/usr/X11/lib -R/usr/X11/lib -L/usr/X11/lib -L/usr/lib -o utilities/gm utilities/gm.o magick/libGraphicsMagick.la
    libtool: link: gcc -std=gnu99 -fopenmp -g -O2 -Wall -D_THREAD_SAFE -o utilities/gm utilities/gm.o  -L/usr/X11/lib -L/usr/lib magick/.libs/libGraphicsMagick.a -llcms -ltiff -ljasper -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -fopenmp
    Undefined symbols for architecture x86_64:
      "___builtin_object_size", referenced from:
          _DespeckleImage.omp_fn.5 in libGraphicsMagick.a(magick_libGraphicsMagick_la-effect.o)
          _BlurImageScanlines.omp_fn.7 in libGraphicsMagick.a(magick_libGraphicsMagick_la-effect.o)
          _XShearImage.omp_fn.0 in libGraphicsMagick.a(magick_libGraphicsMagick_la-shear.o)
          _YShearImage.omp_fn.1 in libGraphicsMagick.a(magick_libGraphicsMagick_la-shear.o)
    ld: symbol(s) not found for architecture x86_64
    collect2: ld returned 1 exit status
    make: ***  Error 1
    make: ***  Error 2

    Thanks,
    -Marko

     
  • Ken

    Ken - 2012-09-10

    Since this mail is a google result, I post my solution here
    ./configure CC=clang

    HTH

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks