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


------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to