gd errors after rebuilding PHP

Bas v.d. Wiel bas at
Wed Mar 17 13:50:48 UTC 2010

On Wed, 17 Mar 2010 16:44:43 +0300, Антон Клесс
<antoniok.spb at> wrote:
> It doesn't helps me.
> Then I try this:
> # env LD_PRELOAD=/usr/local/lib/  |grep png
> LD_PRELOAD=/usr/local/lib/
> # env |grep png
> #
> Is it OK that env doesn't save its status (LD_PRELOAD)?

You should put the whole command on a single line (e-mail cuts off the
lines here):

#env LD_PRELOAD=/usr/local/lib/ /usr/local/etc/rc.d/apache22

In essence you're just restarting Apache in the usual BSD way, but with an
ad-hoc added environment variable. The env command doesn't save its
changes, but that is correct behaviour. I haven't tested this with a 'real'
environment variable yet because I decided to roll back the upgrade to wait
for the issue to be solved.


More information about the freebsd-questions mailing list