You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/05/07 03:23:36 UTC

[GitHub] [maven-mvnd] Raul1718 opened a new issue, #642: mvnd cann't run in Apline

Raul1718 opened a new issue, #642:
URL: https://github.com/apache/maven-mvnd/issues/642

   ![image](https://user-images.githubusercontent.com/23331838/167236120-d85c71cb-fe6c-4132-b4de-82bc6eaacb5f.png)
   
   


-- 
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-unsubscribe@maven.apache.org.apache.org

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


[GitHub] [maven-mvnd] gnodet commented on issue #642: mvnd cann't run in Alpine: qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #642:
URL: https://github.com/apache/maven-mvnd/issues/642#issuecomment-1245256918

   > here a graalvm in alpine
   > https://github.com/renanpalmeira/docker-graalvm-alpine/blob/master/Dockerfile
   
   This looks a bit outdated as GraalVM location has changed (and version is now 22), but it may be used as a basis.
   I found the following thread FTR: https://github.com/oracle/graal/issues/1898#issuecomment-763275747


-- 
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-unsubscribe@maven.apache.org

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


[GitHub] [maven-mvnd] xtu2014551617 commented on issue #642: Support for musl library on linux-amd64 (Alpine)

Posted by GitBox <gi...@apache.org>.
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-unsubscribe@maven.apache.org

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


[GitHub] [maven-mvnd] walnut-tom commented on issue #642: mvnd cann't run in Alpine: qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Posted by GitBox <gi...@apache.org>.
walnut-tom commented on issue #642:
URL: https://github.com/apache/maven-mvnd/issues/642#issuecomment-1126649547

   Dockerfile add
   _**RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2**_


-- 
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-unsubscribe@maven.apache.org

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


[GitHub] [maven-mvnd] gnodet commented on issue #642: mvnd cann't run in Apline: qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #642:
URL: https://github.com/apache/maven-mvnd/issues/642#issuecomment-1125776925

   Do you have a docker image to reproduce the problem ?


-- 
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-unsubscribe@maven.apache.org

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


[GitHub] [maven-mvnd] gnodet commented on issue #642: mvnd cann't run in Alpine: qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #642:
URL: https://github.com/apache/maven-mvnd/issues/642#issuecomment-1240435309

   > 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 https://github.com/SAP/node-rfc/issues/148.
   Either `mvnd` has to be linked with musl, or glibc needs to be installed on the alpine box.


-- 
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-unsubscribe@maven.apache.org

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


[GitHub] [maven-mvnd] walnut-tom commented on issue #642: mvnd cann't run in Alpine: qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Posted by GitBox <gi...@apache.org>.
walnut-tom commented on issue #642:
URL: https://github.com/apache/maven-mvnd/issues/642#issuecomment-1245197186

   here a graalvm in alpine
   https://github.com/renanpalmeira/docker-graalvm-alpine/blob/master/Dockerfile


-- 
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-unsubscribe@maven.apache.org

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