On 2013-01-12, Stefan Sperling <s...@openbsd.org> wrote: > On Sat, Jan 12, 2013 at 01:51:55PM +0100, Dmitrij D. Czarkoff wrote: >> On Sat, Jan 12, 2013 at 12:31:40PM +0000, Stuart Henderson wrote: >> > Set LD_PRELOAD=/usr/lib/libpthread.so >> > >> >> Thanks, it solved the problem for me. >> >> Now, do I have to provide LD_PRELOAD in environment for any perl script using >> ImageMagick? > > For now, yes. The problem is that perl isn't built with support for > threads, while imagemagick is linked to lipthread.
It doesn't need to actually be built with support for threads, just to be linked with -lpthread. > Once perl is built with thread support you won't need this workaround. > I'm not sure when this will be done though. Someone was working on this some > time ago but I don't know how far that effort did go. Actual threaded perl support had issues on some arch.