BewareMyPower commented on issue #23717:
URL: https://github.com/apache/pulsar/issues/23717#issuecomment-2537933636

   I tried to reproduce this issue inside an `alpine:3.20` container. It seems 
that the `netty-tcnative-boringssl-static` 2.0.66 can find the `__getauxval` 
symbol after installing the `gcompat` dependency, while 2.0.69 cannot.
   
   ```
   ~ # unzip -q netty-tcnative-boringssl-static-2.0.66.Final-linux-aarch_64.jar 
   ~ # ldd META-INF/native/libnetty_tcnative_linux_aarch_64.so 
        /lib/ld-musl-aarch64.so.1 (0xffffa4a08000)
        librt.so.1 => /lib/ld-musl-aarch64.so.1 (0xffffa4a08000)
   Error loading shared library libcrypt.so.1: No such file or directory 
(needed by META-INF/native/libnetty_tcnative_linux_aarch_64.so)
        libdl.so.2 => /lib/ld-musl-aarch64.so.1 (0xffffa4a08000)
        libc.so.6 => /lib/ld-musl-aarch64.so.1 (0xffffa4a08000)
   Error relocating META-INF/native/libnetty_tcnative_linux_aarch_64.so: 
__getauxval: symbol not found
   ~ # apk add gcompat
   (1/3) Installing musl-obstack (1.2.3-r2)
   (2/3) Installing libucontext (1.2-r3)
   (3/3) Installing gcompat (1.1.0-r4)
   OK: 138 MiB in 29 packages
   ~ # ldd META-INF/native/libnetty_tcnative_linux_aarch_64.so 
        /lib/ld-musl-aarch64.so.1 (0xffffbac74000)
        librt.so.1 => /lib/ld-musl-aarch64.so.1 (0xffffbac74000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xffffbaa44000)
        libdl.so.2 => /lib/ld-musl-aarch64.so.1 (0xffffbac74000)
        libc.so.6 => /lib/ld-musl-aarch64.so.1 (0xffffbac74000)
        libucontext.so.1 => /lib/libucontext.so.1 (0xffffbaa23000)
        libobstack.so.1 => /usr/lib/libobstack.so.1 (0xffffbaa02000)
   ```


-- 
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