Page 1 of 1

posix_memalign link error

Posted: 2012-08-02T18:00:39-07:00
by eric_vi
hello,

i am on Mac OS X.6 i have built a static version of image magick without problem... when i link it in my project .. i get the following error

"_posix_memalign", referenced from:

_AcquireAlignedMemory in libMagickCore.a(magick_libMagickCore_la-memory.o)

i cannot find any reference to posix_memalign on X.6, it seems to be included.. what link flag i miss? or is there away to compile a static without using this memory alignment that seems to automatically come on this OS

Thanks for your help