Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 15:17:46 +0100
From:      Olivier Mueller <om-lists-bsd@omx.ch>
To:        endzed@gmail.com, ports@freebsd.org, freebsd-questions <freebsd-questions@freebsd.org>
Cc:        gnome@FreeBSD.org, Andrey Slusar <anray@FreeBSD.org>
Subject:   [solved]  Re: [freebsd] pecl-imagick -> Segmentation fault: 11 (core dumped) on php -i under freebsd 7.3
Message-ID:  <1289917066.5416.13.camel@frosch.omx.ch>
In-Reply-To: <B0952F89-D2D3-40FC-8921-201C58632EBD@gmail.com>
References:  <1242763051.5505.18.camel@frosch.omx.ch> <47e01da70905240107u6baf7e44pb9e46f8d6952de70@mail.gmail.com> <1277196339.16778.20.camel@ompc.insign.local> <1289520291.22576.5.camel@frosch.omx.ch> <B0952F89-D2D3-40FC-8921-201C58632EBD@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello and thanks for your feedback!

On Tue, 2010-11-16 at 13:03 +0100, endzed@gmail.com wrote:
> >> [om@pandora ~]$ php -v -c /usr/local/etc/php.ini-production 
> >> PHP 5.3.2 with Suhosin-Patch (cli) (built: Jun 14 2010 18:11:48) 
> >> Copyright (c) 1997-2009 The PHP Group
> >> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
> >> Segmentation fault: 11 (core dumped)
> >> 
> Here's what did it for me :
> remove the following lines from /usr/ports/textproc/libxml2/files/patch-configure and rebuild+reinstall libxml2
> @@ -20678,6 +20679,8 @@ fi
>                fi
>            fi
>         ;;
> +       *freebsd*) THREAD_LIBS=""
> +       ;;
>      esac
>      if test "$WITH_THREADS" = "1" ; then
>         THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"

> I found this somewhere but cannot remember the thread url unfortunately...

Brillant! It fixed the issue, many thanks. 

CC'ing both ports manager (pecl-imagick and libxml2). It would be nice
if this could be fixed in the ports tree directly: are these patch lines
still required by other packages? 

Regards,
Olivier


PS: something probably related is visable under
http://forums.freebsd.org/archive/index.php/t-8965.html 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1289917066.5416.13.camel>