Skip to content

phpbrew ext install bz2 on OSX can't find BZip2 #966

@sam452

Description

@sam452

Output

...checking for BZip2 support... yes, shared
checking for BZip2 in default path... not found
configure: error: Please reinstall the BZip2 distribution
Error: Command failed: ./configure --with-php-config=/Users/sam/.phpbrew/php/php-7.1.14/bin/php-config returns: checking for BZip2 in default path... not found

Expected Result

Command

phpbrew -d ext install bz2 --with-bz2=/usr/local/Cellar/

Build Log

Configuring for:
PHP Api Version: 20160303
Zend Module Api No: 20160303
Zend Extension Api No: 320160303

Platform

OS: OSX 10.13.3

Running PHP: php-7.1.14

Installing PHP:
extension only

BZip2 is enabled on my $PATH in the same terminal this command was run.
-> BZip2
-> BZip2: I won't write compressed data to a terminal.
-> BZip2: For help, type: `BZip2 --help'.

tried command modifying the directory:
phpbrew -d ext install bz2 --with-bz2-dir=/usr/local/Cellar/

Do not see this issue in searches.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions