On Wed, Aug 03, 2011, joshua stein wrote: >> I'm using html2ps to gen up system documentation and since roughly >> July 20 perl has been dumping core with the following error: >> >> /usr/bin/perl:/usr/local/lib/libMagickCore.so.2.0: undefined symbol >> 'pthread_mutexattr_init' >> lazy binding failed! >> Segmentation fault >> >> This is on the latest snapshot with all packages updated. > > see http://marc.info/?t=131127106300004&r=1&w=2 > > you can probably get around it with the LD_PRELOAD bullshit, but i > think it's stupid that this doesn't get fixed properly. > > i was able to rebuild RMagick with the "-lpthread" hack that is > apparently not allowed to be commited, but it worked fine for me. i > don't know how ruby or perl segfaulting is better than the -lpthread > hack. it's not reasonable to expect everything to be able to muck > with LD_PRELOAD.
Maybe we should put fake pthread stubs in libc.
