pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36869 (php5 cannot load php extensions on Darwin 8.10.0)



jdolecek%netbsd.org@localhost wrote:
> Synopsis: php5 cannot load php extensions on Darwin 8.10.0
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: jdolecek%netbsd.org@localhost
> 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




Home | Main Index | Thread Index | Old Index