You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to disable sasl while building php-memcached-3.1.5. I build it using the following command:
# pecl install memcached
And I set the following switches:
libmemcached directory [no] : no --disable-memcached-sasl
zlib directory [no] : no --disable-memcached-sasl
use system fastlz [no] :
enable igbinary serializer [no] :
enable msgpack serializer [no] :
enable json serializer [no] :
enable server protocol [no] :
enable sasl [yes] :
enable sessions [yes] :
building in /tmp/pear/temp/pear-build-root9x68N7/memcached-3.1.5
running: /tmp/pear/temp/memcached/configure --with-php-config=/usr/bin/php-config --with-libmemcached-dir=no --disable-memcached-sasl --with-zlib-dir=no --disable-memcached-sasl --with-system-fastlz=no --enable-memcached-igbinary=no --enable-memcached-msgpack=no --enable-memcached-json=no --enable-memcached-protocol=no --enable-memcached-sasl=yes --enable-memcached-session=yes
[...]
but it ends up with the following error:
[...]
/bin/sh /tmp/pear/temp/pear-build-root9x68N7/memcached-3.1.5/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root9x68N7/memcached-3.1.5/include -I/tmp/pear/temp/pear-build-root9x68N7/memcached-3.1.5/main -I/tmp/pear/temp/memcached -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -o memcached.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-root9x68N7/memcached-3.1.5/modules php_memcached.lo php_libmemcached_compat.lo g_fmt.lo fastlz/fastlz.lo php_memcached_session.lo -lz -lmemcached -lmemcachedutil -lsasl2
grep: /usr/lib64/libsasl2.la: No such file or directory
/usr/bin/sed: can't read /usr/lib64/libsasl2.la: No such file or directory
libtool: link: `/usr/lib64/libsasl2.la' is not a valid libtool archive
make: *** [Makefile:205: memcached.la] Error 1
ERROR: `make' failed
So there is two issues, the first one is the check for sasl library (which I disable) and the second is libsasl2.la. It seems latest version of cyrus-sasl2 doesn't ship .la files anymore. Better to use pkg-config.
Is there any workaround ?
The text was updated successfully, but these errors were encountered:
Hello,
I would like to disable sasl while building php-memcached-3.1.5. I build it using the following command:
# pecl install memcached
And I set the following switches:
but it ends up with the following error:
So there is two issues, the first one is the check for sasl library (which I disable) and the second is
libsasl2.la
. It seems latest version of cyrus-sasl2 doesn't ship .la files anymore. Better to usepkg-config
.Is there any workaround ?
The text was updated successfully, but these errors were encountered: