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

endzed at gmail.com endzed at gmail.com
Tue Nov 16 12:34:10 UTC 2010


Le 12 nov. 2010 à 01:04, Olivier Mueller a écrit :

> Good evening,
> 
> On Tue, 2010-06-22 at 10:45 +0200, Olivier Mueller wrote:
>> Problem:
>> 
>> [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...

NZ


More information about the freebsd-ports mailing list