xtu2014551617 commented on issue #642:
URL: https://github.com/apache/maven-mvnd/issues/642#issuecomment-1273052704

   
    
   
   > > Dockerfile add
   > > _**RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 
/lib64/ld-linux-x86-64.so.2**_
   > 
   > Adding the link to the `musl` library still leads to an error:
   > 
   > ```
   > ~ # ./mvnd-0.8.0-linux-amd64/bin/mvnd
   > Error relocating ./mvnd-0.8.0-linux-amd64/bin/mvnd: __strdup: symbol not 
found
   > Segmentation fault
   > ```
   > 
   > This looks similar to 
[SAP/node-rfc#148](https://github.com/SAP/node-rfc/issues/148). Either `mvnd` 
client and the native library have to be compiled and linked with `musl`, or 
`glibc` needs to be installed on the alpine box.
   
   
   https://wiki.alpinelinux.org/wiki/Running_glibc_programs
   
   ```
   apk add gcompat
   ```
   It work for me 


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to