-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No rule to make target #32
Comments
To use the system library
|
Excellent, thank you. That solved my first issue. Maybe you can kindly help me with another issue. I now use the following lines:
However, I get the message:
How do I get them installed instead in the correct directory instead? |
What is the procedure? % docker run -it --rm --entrypoint=bash php:8.1-fpm
$
$ apt update
$ apt-get install -y liblz4-dev
$
$ debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"
$ curl -L 'https://github.com/kjdev/php-ext-lz4/archive/refs/tags/0.4.3.tar.gz' | tar xvz -C /tmp
$ cd /tmp/php-ext-lz4-0.4.3
$ phpize
$ ./configure --with-lz4-includedir=/usr --with-libdir="lib/$debMultiarch"
$ make -j "$(nproc)"
$ make install
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/
$
$ ls /usr/local/lib/php/extensions/no-debug-non-zts-20210902/
lz4.so opcache.so sodium.so
$ echo "extension=lz4" > /usr/local/etc/php/conf.d/php-ext-lz4.ini
$ php -m | grep lz4
lz4 |
OK, thank you for your help. Will modify accordingly. BTW are you planning to set-up php-lz4 as a PECL? Would make installation easier. Will close this now. |
It was good. I will try to apply for registration with PECL. |
Hi @kjdev,
I am trying to integrate php-ext-lz4 into the official docker 8.1 php-fpm image. However, I get the following error message:
Here is the relevant part from my Dockerfile:
Any idea how to fix this error?
The text was updated successfully, but these errors were encountered: