I'll forward this on to -devel, as _I_ have no idea.

-------- Original Message --------
Subject:        Re: [Fink-beginners] php5-cli startup errors
Date:   Mon, 30 Mar 2009 12:09:30 -0600
From:   TheSin <[email protected]>
To:     Alexander Hansen <[email protected]>
References:
<[email protected]>
<[email protected]>



I know i've been trying to figure this out since 10.5 php5 was done,  
it works fine cept when you have modules loaded but php without  
modules is kinda useless so it is a big problem, suggestions are  
indeed appreciated here.
---
TS
http://southofheaven.org/
Chaos is the beginning and end, try dealing with the rest.

On 30-Mar-09, at 11:53 AM, Alexander Hansen wrote:

> Eriksen Costa wrote:
>> Hi there,
>>
>> It seems to have a problem with the build configuration of php5-cli
>> (http://pdb.finkproject.org/pdb/package.php/php5-cli) for the dynamic
>> lookup of system libraries. When using in cli, many startup errors
>> appears because the binary search for /sw/lib/php5/20060613 to load
>> the extensions (curl, gd, pdo, e.g.):
>>
>> $ php -m
>>
>> 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 './gd.so' -
>> (null) in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library './ldap.so'
>> - (null) in Unknown on line 0
>>
>> ...
>>
>> Changing the cli's php.ini extension_dir to use the correct path
>> (/sw/lib/php5/20060613-zts) causes an worse error:
>>
>> $ php -m
>>
>> 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
>>
>> ...
>>
>>
>> Thanks.
>> ------------------------------------------------------------------------
> I'll cc the maintainer.
>
> Eriksen didn't specify system parameters, but I'm showing the same
> behavior with 10.5.6/Intel, on the latest update (php5-5.2.6-5).
>
> -- 
> Alexander Hansen
> Fink User Liaison
>
>


-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to