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

   > ```
   > ~ # apk add libc6-compat libuuid libgcc
   > (1/1) Installing libuuid (2.40.1-r1)
   > OK: 138 MiB in 30 packages
   > ~ # ldd META-INF/native/libnetty_tcnative_linux_aarch_64.so 
   >    /lib/ld-musl-aarch64.so.1 (0xffff9c053000)
   >    librt.so.1 => /lib/ld-musl-aarch64.so.1 (0xffff9c053000)
   >    libdl.so.2 => /lib/ld-musl-aarch64.so.1 (0xffff9c053000)
   >    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xffff9bdf3000)
   >    libc.so.6 => /lib/ld-musl-aarch64.so.1 (0xffff9c053000)
   > Error relocating META-INF/native/libnetty_tcnative_linux_aarch_64.so: 
__getauxval: symbol not found
   > ```
   > 
   > These extra dependencies don't work. Actually for 2.0.66, I only need to 
install `gcc` and `gcompact` to make it work
   
   Yes, the problem reproduces. I agree that this is a netty-tcnative issue 
with musl compatibility.
   
   
   btw. I guess instead of `gcc`, that `libgcc` is preferred for 2.0.66 so that 
the image doesn't have a compiler installed. 
   
   ```shell
   apk update
   apk add gcompat libgcc
   wget 
https://repo1.maven.org/maven2/io/netty/netty-tcnative-boringssl-static/2.0.66.Final/netty-tcnative-boringssl-static-2.0.66.Final-linux-aarch_64.jar
   unzip netty-tcnative-boringssl-static-2.0.66.Final-linux-aarch_64.jar
   ldd META-INF/native/libnetty_tcnative_linux_aarch_64.so
   ```
   
   
   
   


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