php-ext-lz4
php-ext-lz4 copied to clipboard
can't make ,when i use Centos7.3
make: *** No rule to make target /opt/php-ext-lz4-0.3.5/lz4/lib/lz4.c', needed by lz4/lib/lz4.lo'. Stop.
Embedded library
% docker run -it --rm centos bash
$ yum install -y git gcc make php-devel
$ git clone --recursive --depth=1 https://github.com/kjdev/php-ext-lz4
$ cd php-ext-lz4.git
$ phpize
$ ./configure
$ make
$ make test
$ ls .libs/*.so
./libs/lz4.so
System library
% docker run -it --rm centos bash
$ yum install -y git gcc make php-devel lz4-devel
$ git clone --depth=1 https://github.com/kjdev/php-ext-lz4
$ cd php-ext-lz4.git
$ phpize
$ ./configure --with-lz4-includedir=/usr
$ make
$ ls .libs/*.so
./libs/lz4.so