Subject: Re: pkg/36869 (php5 cannot load php extensions on Darwin 8.10.0)
To: None <darwin-pkg-people@netbsd.org, gnats-admin@netbsd.org,>
From: Louis Guillaume <lguillaume@berklee.edu>
List: pkgsrc-bugs
Date: 09/02/2007 20:00:08
The following reply was made to PR pkg/36869; it has been noted by GNATS.

From: Louis Guillaume <lguillaume@berklee.edu>
To: gnats-bugs@NetBSD.org
Cc: darwin-pkg-people@netbsd.org, pkgsrc-bugs@netbsd.org,
	gnats-admin@netbsd.org, jdolecek@netbsd.org
Subject: Re: pkg/36869 (php5 cannot load php extensions on Darwin 8.10.0)
Date: Sun, 02 Sep 2007 15:58:47 -0400

 jdolecek@netbsd.org wrote:
 > Synopsis: php5 cannot load php extensions on Darwin 8.10.0
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: jdolecek@netbsd.org
 > State-Changed-When: Sun, 02 Sep 2007 18:30:32 +0000
 > State-Changed-Why:
 > Module loading in PHP5 works fine on Mac OS X 10.4.10 (aka Darwin 8.10.0).
 > Are you sure your build environment (Xtools etc) is up-to-date?
 
 Yes - I just double-checked:
 
 ========================================================================
 # uname -a
 Darwin dhcp-214.zabrico.com 8.10.0 Darwin Kernel Version 8.10.0: Wed May
 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh
 powerpc
 
 # gcc --version
 powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
 5367)
 Copyright (C) 2005 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 ========================================================================
 
 And re-built php and a module...
 
 ========================================================================
 pkg_delete -v php
 rm /etc/php.ini
 cd /usr/pkgsrc/databases/php-pgsql/
 bmake clean CLEANDEPENDS=YES
 bmake package
 vi /etc/php.ini -> added extension=pgsql.so
 
 # grep ^extension /etc/php.ini
 extension=pgsql.so
 
 # php --version
 dyld: NSLinkModule() error
 dyld: Symbol not found: _zend_ini_boolean_displayer_cb
   Referenced from: /usr/pkg/lib/php/20040412/pgsql.so
   Expected in: flat namespace
 
 Trace/BPT trap
 
 ========================================================================
 
 Can I send you a binary package you could test with on your system? Or
 perhaps you can send me a binary package of the one that's working for
 you. Perhaps it's an environmental problem.
 
 Louis