On 17 Dec 2017, at 11:17 (-0500), [email protected] wrote:
[...]
then i found the following:  https://github.com/sjorek/MacPorts-PHP

it looks it works like a local port installation.

as this isnt a formal port i think i cannot create a ticket.

You could (and arguably SHOULD) open an "Issue" on that GitHub repository. Apparently the developer failed to recognize some dependencies.

this is what happens:

# port install composer composer-php56 composer-select +iconv +openssl
--->  Cleaning composer
--->  Computing dependencies for composer-php56
--->  Building composer-php56
Error: Failed to build composer-php56:
Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php56/extensions/no-debug-non-zts-20131226/gd.so' - dlopen(/opt/local/lib/php56/extensions/no-debug-non-zts-20131226/gd.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php56/extensions/no-debug-non-zts-20131226/gdchart.so' - dlopen(/opt/local/lib/php56/extensions/no-debug-non-zts-20131226/gdchart.so, 9): image not found in Unknown on line 0
All settings correct for using Composer
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php56/extensions/no-debug-non-zts-20131226/gd.so' - dlopen(/opt/local/lib/php56/extensions/no-debug-non-zts-20131226/gd.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php56/extensions/no-debug-non-zts-20131226/gdchart.so' - dlopen(/opt/local/lib/php56/extensions/no-debug-non-zts-20131226/gdchart.so, 9): image not found in Unknown on line 0 Error: See /opt/local/var/macports/logs/_Users_paul_Develop_macports_MacPorts-PHP_php_composer/composer-php56/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port composer-php56 failed

so it probably isnt the right way too.

So, the missing dependencies are (at least) php56-gd and php56-gd-chart.


--
Bill Cole
[email protected] or [email protected]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steady Work: https://linkedin.com/in/billcole

Reply via email to