Waddya know. Moving /sw/etc/pear/pear.conf out of the way allowed the
build to work just fine. Yay!

I still get these:

PHP Warning:  PHP Startup: Unable to load dynamic library './curl.so'
- (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './imap.so'
- (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './mysql.so'
- (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'./mysqli.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './pdo.so' -
(null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'./pdo_mysql.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './xsl.so' -
(null) in Unknown on line 0

Which is because the extensions are all being placed in
/sw/lib/php5/20060613-zts/ while php is being configured out of the
box to look for extensions in /sw/lib/php5/20060613/. Any idea why
this discrepancy exists?

What's worse is that  after going in to change
/sw/etc/php5/cli/php.ini to set extension_dir to
/sw/lib/php5/20060613-zts/, I get this:

me$ php --version
dyld: NSLinkModule() error
dyld: Symbol not found: _executor_globals_id
  Referenced from: /sw/lib/php5/20060613-zts/curl.so
  Expected in: dynamic lookup

Trace/BPT trap
me$

When I see that I assume that the php curl extension was compiled
against something incorrectly, so I do this:

me$ sudo fink rebuild php5-curl

But that seems to rebuild all of php5, which is how I arrived in the
original situation in the first place.

Any suggestions?

On Fri, Dec 18, 2009 at 7:36 PM, Laran Evans <[email protected]> wrote:
>> You didn't provide your OS version and architecture, (e.g. if you're
>> using 64bit Fink on 10.6).
>
> Leopard on Intel
>
>> Did you try renaming /sw/etc/pear/pear.conf , just in case non-visible
>> whitespace was causing problems?  (I've had that happen in some
>> circumstances)
>
> Trying that now...
>
>> And how about posting what you did to try changing the directory where
>> PEAR was looking, and what the "dyld issues" were?
>
> What I tried was this: sudo pear config-set ext_dir /sw/lib/php5/20060613-zts
>
> It defaulted to /sw/lib/php5/20060613 but the extensions were all
> installed in /sw/lib/php5/20060613-zts by fink.
>
> And the dyld issues were:
>
> me$ php --version
> dyld: NSLinkModule() error
> dyld: Symbol not found: _executor_globals_id
>  Referenced from: /sw/lib/php5/20060613-zts/curl.so
>  Expected in: dynamic lookup
>
> Trace/BPT trap
> me$
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to