Skip to content

Commit

Permalink
use librados.so.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtThiemann committed Mar 23, 2024
1 parent 6996d75 commit 180c182
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/includes/info.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

4 changes: 2 additions & 2 deletions includes/librados.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/Rados.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 180c182

Please sign in to comment.