diff --git a/build/includes/info.h b/build/includes/info.h index 6635c03..56e9d05 100644 --- a/build/includes/info.h +++ b/build/includes/info.h @@ -20,5 +20,5 @@ The source code for these files can be found at https://github.com/ceph/ceph #define FFI_SCOPE "PHP_RADOS_FFI" -#define FFI_LIB "librados.so" +#define FFI_LIB "librados.so.2" diff --git a/includes/librados.h b/includes/librados.h index b26b79c..9c5df90 100644 --- a/includes/librados.h +++ b/includes/librados.h @@ -3,7 +3,7 @@ This file is generated, do not modify it directly! To generate this file, run `./bin/generate-headers`, or `./vendor/bin/generate-headers` if this was installed as a dependency using composer. -GENERATED ON 2024-03-22 13:14:58 +GENERATED ON 2024-03-23 12:54:43 This file is generated from librados.h and rados_types.h, available in the librados-dev package installed when this was generated. @@ -20,7 +20,7 @@ The source code for these files can be found at https://github.com/ceph/ceph #define FFI_SCOPE "PHP_RADOS_FFI" -#define FFI_LIB "librados.so" +#define FFI_LIB "librados.so.2" typedef long int time_t; typedef long int suseconds_t; diff --git a/src/Rados.php b/src/Rados.php index cdb2934..72b10ac 100644 --- a/src/Rados.php +++ b/src/Rados.php @@ -74,7 +74,7 @@ public function initialize(): static return $this; } - $this->ffi = FFI::cdef($this->readHeaders(), "librados.so"); + $this->ffi = FFI::cdef($this->readHeaders(), "librados.so.2"); $this->initialized = true; return $this; }