Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Autoload error: Vendor autoload is not found. Please run 'composer install' under application root directory. #1

Open
tsauerwein opened this issue Mar 15, 2017 · 1 comment

Comments

@tsauerwein
Copy link

Trying to run ant build ends with the following error message:

copy-www-to-docker:
     [exec] [15-Mar-2017 10:25:43 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php7/modules/gd.so' - Error relocating /usr/lib/libpng16.so.16: inflateValidate: symbol not found in Unknown on line 0
     [exec] Loading composer repositories with package information
     [exec] Installing dependencies (including require-dev) from lock file
     [exec] Your requirements could not be resolved to an installable set of packages.
     [exec] 
     [exec]   Problem 1
     [exec]     - The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
     [exec] 
     [exec] Result: 2
     [exec] [15-Mar-2017 10:25:43 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php7/modules/gd.so' - Error relocating /usr/lib/libpng16.so.16: inflateValidate: symbol not found in Unknown on line 0
     [exec] Autoload error: Vendor autoload is not found. Please run 'composer install' under application root directory.
     [exec] Result: 1
     [exec] [15-Mar-2017 10:25:43 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php7/modules/gd.so' - Error relocating /usr/lib/libpng16.so.16: inflateValidate: symbol not found in Unknown on line 0
     [exec] Autoload error: Vendor autoload is not found. Please run 'composer install' under application root directory.
     [exec] Result: 1

copy-www-to-local:

BUILD SUCCESSFUL
Total time: 1 minute 6 second

It seems to be related to the installed version of zlib that is not compatible with libpng (see also: Wonderfall/dockerfiles#114 (comment)).

@jonathan00
Copy link

https://bugs.alpinelinux.org/issues/6859#note-1

You can temp fix it by forcing an older version of libpng:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants