Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Unable to compile php-extension in Ubuntu 12.10 #7

Open
sfernandez opened this Issue · 1 comment

1 participant

@sfernandez

Once properly compiled and installed libketama (installed in /usr/lib), I'm unable to compile the php extension.

steps:

  • phpize
  • configure and the following error will appear: checking for ketama_roll in -lketama... no
@sfernandez

Ok the solution is the following;

  • change the following line of libketama Makefile build target: gcc -shared -Wl,-soname,libketama.so.1 -o libketama.so.1 -lm ketama.o md5.o ---> gcc -shared -Wl,-soname,libketama.so.1 -o libketama.so.1 ketama.o md5.o -lm

in php_ketama execute ./configure --with-ketama instead of ./configure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.