Cassandra PHP libcassandra.so.2: cannot open shared object file -


so have spent best part of day trying (and failing) php driver apache cassandra install on server (centos 7).

after lot of mucking , few grey hairs have got driver install unfortunately doesnt load.

in apache error log php warning: php startup: unable load dynamic library '/usr/lib64/php/modules/cassandra.so' - libcassandra.so.2: cannot open shared object file: no such file or directory in unknown on line 0

i have checked , libcassandra.so.2 file indeed exist in /usr/local/lib64/libcassandra.

has come across similar ptoblem? appreciated.

im running centos 7 , php 5.4.16 , apache 2.4.6

thanks matt.

the problem having libcassandra installed /usr/local/lib64 not /usr/lib64

a simple ln -s /usr/local/lib64/libcassandra.so.2 /usr/lib64/libcassandra.so.2 command fixed problem


Comments