Open ciaran-moore opened 1 day ago
This looks like to me it cannot find libcassandra.so
the library that you have built from Datastax.
can you please do ld cassandra.so
, and paste the output here if you need any help.
cassandra.so -> PHP Driver and not libcassandra.so (the datastax driver)
Few suggestions to fix the issue
libcassandra.so
to LD_LIBRARY_PATH
/usr/lib
or some equivalent directory
When I install the extension to use the Datastax CPP-Driver, I receive the error
undefined symbol: cass_session_new
when trying to use the extension.The installs are finding the correct headers as I can see the version info in the cassandra.h file as:
And the extension build shows the version found as:
I can also see the symbol in the header being called and assigned to a CassSession*
Install Steps:
Both build compile successfully, and cassandra module is loaded within
php -m
with no warningsPHP Test Script
Run test script
Any ideas why this would be happening?