On 2013-01-12, Dmitrij D. Czarkoff <czark...@gmail.com> wrote: > Hello! > > I was trying to build a piece of software that uses Image::Magick, when I ran > into the following problem on amd64 -current: > > $ perl -e "use Image::Magick;" > Can't load > '/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/Image/Magick/Magick.so' > for module Image::Magick: Cannot load specified object at > /usr/libdata/perl5/amd64-openbsd/5.12.2/DynaLoader.pm line 200. > at -e line 1 > Compilation failed in require at -e line 1. > BEGIN failed--compilation aborted at -e line 1. > &Image::Magick::constant not defined. The required ImageMagick libraries > are not installed or not installed properly. > END failed--call queue aborted at -e line 1. > > On my another box (i386 5.2) I get another error: > > % perl -e "use Image::Magick;" > perl:/usr/local/lib/libMagickCore.so.3.0: undefined symbol > 'pthread_mutexattr_init' > lazy binding failed! > zsh: segmentation fault (core dumped) perl -e "use Image::Magick;" > > Is there any way to use Image::Magick on OpenBSD? If no, why does it get > built? >
Set LD_PRELOAD=/usr/lib/libpthread.so