[solved] Re: [freebsd] pecl-imagick -> Segmentation fault: 11 (core dumped) on php -i under freebsd 7.3

Olivier Mueller om-lists-bsd at omx.ch
Tue Nov 16 14:17:49 UTC 2010


Hello and thanks for your feedback!

On Tue, 2010-11-16 at 13:03 +0100, endzed at gmail.com wrote:
> >> [om at 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 




More information about the freebsd-questions mailing list