{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/7730","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/7730/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/7730/comments","events_url":"https://api.github.com/repos/composer/composer/issues/7730/events","html_url":"https://github.com/composer/composer/issues/7730","id":371520385,"node_id":"MDU6SXNzdWUzNzE1MjAzODU=","number":7730,"title":"Composer 1.7.2 does not work in Ubuntu 18.05 and PHP 7.1","user":{"login":"saidbakr","id":467554,"node_id":"MDQ6VXNlcjQ2NzU1NA==","avatar_url":"https://avatars2.githubusercontent.com/u/467554?v=4","gravatar_id":"","url":"https://api.github.com/users/saidbakr","html_url":"https://github.com/saidbakr","followers_url":"https://api.github.com/users/saidbakr/followers","following_url":"https://api.github.com/users/saidbakr/following{/other_user}","gists_url":"https://api.github.com/users/saidbakr/gists{/gist_id}","starred_url":"https://api.github.com/users/saidbakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saidbakr/subscriptions","organizations_url":"https://api.github.com/users/saidbakr/orgs","repos_url":"https://api.github.com/users/saidbakr/repos","events_url":"https://api.github.com/users/saidbakr/events{/privacy}","received_events_url":"https://api.github.com/users/saidbakr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-18T13:04:42Z","updated_at":"2018-10-18T13:55:38Z","closed_at":null,"author_association":"NONE","body":"I have installed composer using the downloaded installer script but when trying run `$ composer` I get the following dependency error from PHP:\r\n\r\n```\r\nphp: error while loading shared libraries: libicui18n.so.55: cannot open shared object file: No such file or directory\r\n```\r\nMy PHP version is: -`php -v`\r\n```\r\nPHP 7.1.23-2+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Oct 15 2018 11:37:26) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.1.23-2+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies\r\n```\r\nHowever, `php composer.phar` works fine."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/431018137","html_url":"https://github.com/composer/composer/issues/7730#issuecomment-431018137","issue_url":"https://api.github.com/repos/composer/composer/issues/7730","id":431018137,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTAxODEzNw==","user":{"login":"stof","id":439401,"node_id":"MDQ6VXNlcjQzOTQwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/439401?v=4","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T13:55:38Z","updated_at":"2018-10-18T13:55:38Z","author_association":"CONTRIBUTOR","body":"@saidbakr if `php composer.phar` works but `composer` does not, make sure that `/usr/bin/env php` resolves to the same runtime than `php`.\r\n\r\nThe composer shebang uses `/usr/bin/env php` which resolves the executable based on the PATH. `php` might be overriden by a shell alias you have.\r\nIf that's indeed the issue, make sure that the PHP executable in your PATH is the working one. "}}
{"actor":{"display_login":"stof"}}