Xuanwo commented on issue #2813:
URL: https://github.com/apache/opendal/issues/2813#issuecomment-7156927789

   @godruoyi, PIE now supports selecting a prebuilt extension from release 
assets. The upstream issue you linked was closed when this support landed. 
[php/pie#436](https://github.com/php/pie/issues/436) · 
[php/pie#489](https://github.com/php/pie/pull/489) · [PIE 1.6.0 package 
format](https://github.com/php/pie/blob/1.6.0/docs/extension-maintainers.md#pre-packaged-binary)
   
   I checked the OpenDAL extension from `31b4558934` on Ubuntu 24.04 x86-64 
with PHP 8.4.28 NTS. In an offline container without Rust or a C compiler, PHP 
loaded the prebuilt `.so` and the Memory write, read, stat and delete 
operations passed. PHP 8.2 rejected the same file because its module API 
differs. Debian Bookworm with PHP 8.4 also rejected it because it requires 
`GLIBC_2.38`. PIE distinguishes glibc and musl in the asset name, so a Linux 
build still needs a compatible minimum glibc version.
   
   OpenDAL v0.59.5 has no PHP binary asset. One installer question remains: the 
loaded module is named `opendal-php`, and PIE's extension-name validator 
rejects hyphens. We're testing whether a PIE-compatible package can load the 
existing module under its current name. [PIE name 
validation](https://github.com/php/pie/blob/1.6.0/src/ExtensionName.php)
   
   *AI-generated verification update.*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to