openbsd-ports/graphics/pecl-imagick/pkg
2012-06-16 11:38:03 +00:00
..
DESCR
PLIST MESSAGE -> README and remove bogus part that is now handled by the php/pecl 2012-06-16 11:38:03 +00:00
README MESSAGE -> README and remove bogus part that is now handled by the php/pecl 2012-06-16 11:38:03 +00:00

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

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} 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: