-
Notifications
You must be signed in to change notification settings - Fork 167
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
PPC, PPC64, php_ketama unable to compile #1
Comments
libketama creates a shared library, but there's also a separate On 18 August 2011 16:01, vaskes
|
Sorry for the flood. I do compiling module like this: [root@bc4headnode1 php_ketama]# /opt/php/bin/phpize creating libtool PATH="$PATH:/sbin" ldconfig -n /home/build-scripts/ketama/trunk/php_ketama/modulesLibraries have been installed in: If you ever happen to want to link against installed libraries
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.Build complete. [root@bc4headnode1 php_ketama]# make test Build complete. Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ketama.so' in Unknown on line 0 Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ketama.so' in Unknown on line 0 PHP : /opt/php/bin/php |
Hmm, don't know - sorry. I'm pretty sure the libmemcached extension does consistent hashing, Good luck! On 18 August 2011 16:09, vaskes
|
Machine description: IBM JS20 PowerPC arch, RedHat 5.7
[root@bc4headnode1 log]# uname -a
Linux bc4headnode1 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:20:19 EDT 2011 ppc64 ppc64 ppc64 GNU/Linux
Php static compilation --with-ketama cannot be completed
/usr/bin/ld: ext/ketama/ketama.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: ext/ketama/ketama.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: ext/ketama/ketama.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: ext/ketama/ketama.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: ext/ketama/ketama.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: ext/ketama/ketama.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: ext/ketama/ketama.o: Relocations in generic ELF (EM: 3)
ext/ketama/ketama.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1
[root@bc4headnode1 build-scripts]#
I tried to compile it as a module and its successfully compiled, but cannot be used. Error message:
[18-Aug-2011 18:51:44] PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ketama.so' in Unknown on line 0
The text was updated successfully, but these errors were encountered: