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)
The following reply was made to PR pkg/36869; it has been noted by GNATS.
From: Louis Guillaume <lguillaume%berklee.edu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: darwin-pkg-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/36869 (php5 cannot load php extensions on Darwin 8.10.0)
Date: Sun, 02 Sep 2007 16:25:27 -0400
Jaromir Dolecek wrote:
> The following reply was made to PR pkg/36869; it has been noted by GNATS.
>
> From: Jaromir Dolecek <jdolecek%NetBSD.org@localhost>
>
> Hi,
>
> can you send me output of 'php -v' ?
# php -v
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
>
> Mac OS contains PHP 4.4.7 in /usr/bin, perhaps you run the other
> version by mistake. Good way to ensure you have proper version
> is to edit $PKGBASE/etc/php.ini, not /etc/php.ini.
>
I understand... Here are some environmental details...
================================================================
# echo $PATH
/usr/pkg/bin:/usr/pkg/sbin:/bin:/sbin:/usr/bin:/usr/sbin
================================================================
# cat /etc/mk.conf
.ifdef BSD_PKG_MK # begin pkgsrc settings
PKG_DBDIR=/var/db/pkg
LOCALBASE=/usr/pkg
VARBASE=/var
FETCH_CMD=/usr/pkg/bin/ftp
PAX=/usr/pkg/bin/pax
DISTDIR=/Volumes/Chacachacare/distfiles
PACKAGES=/Volumes/Huevos/pkgsrc-packages
WRKOBJDIR=/usr/pkgobj
PKG_SYSCONFBASE=/etc
PKGCHK_CONF=/etc/pkgchk.conf
#X11_TYPE=xorg
DEPENDS_TARGET=package
USE_BUILTIN.cups= yes
USE_BUILTIN.x11 = yes
PKG_OPTIONS.ruby += ruby-build-ri-db
PKG_OPTIONS.vim += ruby
PGHOME=${VARBASE}/${PGUSER}
.endif # end pkgsrc settings
================================================================
Note the PKG_SYSCONFBASE setting. So /etc/php.ini is the right one.
Louis
Home |
Main Index |
Thread Index |
Old Index