-
Notifications
You must be signed in to change notification settings - Fork 326
memcached 2.1.0 requires libmemcached 1.0.10 #25
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
Comments
or apply patch from debian to reduce version requirements: |
See pull request #27 which seems a better solution. |
Fixed. |
Hi, I didn't get this compilation warning on master, but I get the same warning message when executing php:
Should this be reopened or shall I open a new issue? My system: Using the default php and libmembached packages shipped with Ubuntu Precise the compilation fails, but that's issue #33 |
I found what the problem was, see pull request #68 |
have same problem fixed it http://seyferseed.ru/php/nyuansy-s-nastrojkoj-memcached-debian.html
|
are you testing with currently released version or master? This has been fixed in master but it is a known issue for 2.1.0 |
@mkoppanen , hi. I'm install with pecl How i can build master? |
Closing this issue because it has been fixed. |
Latest version use memcached_server_*_version which are not available in libmemcached < 1.0.10 (tested with 1.0.8)
This only cast warning during build.
.../php_memcached.c:2646:5: warning: implicit declaration of function 'memcached_server_major_version' [-Wimplicit-function-declaration]
.../php_memcached.c:2647:5: warning: implicit declaration of function 'memcached_server_minor_version' [-Wimplicit-function-declaration]
.../php_memcached.c:2648:5: warning: implicit declaration of function 'memcached_server_micro_version' [-Wimplicit-function-declaration]
So build succeed, but created extension is unusable.
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/memcached.so' - modules/memcached.so: undefined symbol: memcached_server_micro_version in Unknown on line 0
1/ I think this should be documented
2/ it will be great to detect this at configure time
Per example, adding in config.m4, after AC_MSG_RESULT([$PHP_LIBMEMCACHED_DIR])
The text was updated successfully, but these errors were encountered: