$OpenBSD: README,v 1.1 2012/06/16 11:38:03 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running pecl-imagick-2.3.0p10 on OpenBSD
+-----------------------------------------------------------------------

When using the OpenBSD Apache server, the runtime loader will need to
pre-load the pthread shared library. While the php binary is linked with
-pthread, httpd is not and the pecl-imagick module uses libraries from
ImageMagick which need pthread functions.
To do so, create a login(1) class under /etc/login.conf(5) named after
the Apache rc.d(8) script, i.e. "httpd":

httpd:\
	:setenv=LD_PRELOAD=/usr/lib/libpthread.so:\
	:tc=daemon:
