{"action":"created","issue":{"url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/11","labels_url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/11/comments","events_url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/11/events","html_url":"https://github.com/gliderlabs/docker-alpine/issues/11","id":59172234,"number":11,"title":"Alpine libs not compatible with Java 8","user":{"login":"giovannicandido","id":915892,"avatar_url":"https://avatars.githubusercontent.com/u/915892?v=3","gravatar_id":"","url":"https://api.github.com/users/giovannicandido","html_url":"https://github.com/giovannicandido","followers_url":"https://api.github.com/users/giovannicandido/followers","following_url":"https://api.github.com/users/giovannicandido/following{/other_user}","gists_url":"https://api.github.com/users/giovannicandido/gists{/gist_id}","starred_url":"https://api.github.com/users/giovannicandido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovannicandido/subscriptions","organizations_url":"https://api.github.com/users/giovannicandido/orgs","repos_url":"https://api.github.com/users/giovannicandido/repos","events_url":"https://api.github.com/users/giovannicandido/events{/privacy}","received_events_url":"https://api.github.com/users/giovannicandido/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gliderlabs/docker-alpine/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/gliderlabs/docker-alpine/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/gliderlabs/docker-alpine/labels/upstream","name":"upstream","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-27T01:00:43Z","updated_at":"2015-03-30T19:23:27Z","closed_at":null,"body":"Trying to install oracle JDK 8 and I get this error when run:\r\n\r\n. /opt/jdk/bin/java -version\r\n/bin/ash: /opt/jdk/bin/java: : not found\r\n/bin/ash: /opt/jdk/bin/java: : not found\r\n@@@@@@@?@@@@ |?@@DDP?td??@?@1Q?t/lib64/ld-linux-x86-64.so.2GNU\tGNU?t?)N?ݓ??;r?Z???h nonexistent directory\r\n/bin/ash: /opt/jdk/bin/java: line 1: ELF: not found\r\n/bin/ash: /opt/jdk/bin/java: ?: not found\r\n/bin/ash: /opt/jdk/bin/java: line 3: ?: not found\r\n/bin/ash: /opt/jdk/bin/java: syntax error: unexpected end of file (expecting \")\")\r\n\r\nThe ldd command give the result:\r\n\r\n```\r\nldd /opt/jdk/bin/java\r\n\t/lib64/ld-linux-x86-64.so.2 (0x7f8da09f8000)\r\n\tlibpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f8da09f8000)\r\n\tlibjli.so => /opt/jdk/bin/../lib/amd64/jli/libjli.so (0x7f8da07e0000)\r\n\tlibdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f8da09f8000)\r\n\tlibc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f8da09f8000)\r\nError relocating /opt/jdk/bin/../lib/amd64/jli/libjli.so: __rawmemchr: symbol not found\r\n```\r\n\r\nWhat could be done?"},"comment":{"url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/comments/87798786","html_url":"https://github.com/gliderlabs/docker-alpine/issues/11#issuecomment-87798786","issue_url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/11","id":87798786,"user":{"login":"frol","id":304265,"avatar_url":"https://avatars.githubusercontent.com/u/304265?v=3","gravatar_id":"","url":"https://api.github.com/users/frol","html_url":"https://github.com/frol","followers_url":"https://api.github.com/users/frol/followers","following_url":"https://api.github.com/users/frol/following{/other_user}","gists_url":"https://api.github.com/users/frol/gists{/gist_id}","starred_url":"https://api.github.com/users/frol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frol/subscriptions","organizations_url":"https://api.github.com/users/frol/orgs","repos_url":"https://api.github.com/users/frol/repos","events_url":"https://api.github.com/users/frol/events{/privacy}","received_events_url":"https://api.github.com/users/frol/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T19:23:26Z","updated_at":"2015-03-30T19:23:26Z","body":"Can anyone point me to relevant information about these musl libc limitations? I have the similar issue with Anaconda prebuilt packages on Alpine Linux:\r\n\r\n```\r\n# ldd /usr/local/miniconda/pkgs/python-2.7.9-1/bin/python\r\n        /lib64/ld-linux-x86-64.so.2 (0x7f9d68e45000)\r\n        libpython2.7.so.1.0 => /usr/local/miniconda/pkgs/python-2.7.9-1/bin/../lib/libpython2.7.so.1.0 (0x7f9d68a63000)\r\n        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f9d68e45000)\r\n        libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f9d68e45000)\r\n        libutil.so.1 => /lib64/ld-linux-x86-64.so.2 (0x7f9d68e45000)\r\n        libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f9d68e45000)\r\n        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f9d68e45000)\r\nError relocating /usr/local/miniconda/pkgs/python-2.7.9-1/bin/../lib/libpython2.7.so.1.0: __finite: symbol not found\r\nError relocating /usr/local/miniconda/pkgs/python-2.7.9-1/bin/../lib/libpython2.7.so.1.0: __rawmemchr: symbol not found\r\nError relocating /usr/local/miniconda/pkgs/python-2.7.9-1/bin/../lib/libpython2.7.so.1.0: __isinff: symbol not found\r\nError relocating /usr/local/miniconda/pkgs/python-2.7.9-1/bin/../lib/libpython2.7.so.1.0: tmpnam_r: symbol not found\r\nError relocating /usr/local/miniconda/pkgs/python-2.7.9-1/bin/../lib/libpython2.7.so.1.0: __isnan: symbol not found\r\nError relocating /usr/local/miniconda/pkgs/python-2.7.9-1/bin/../lib/libpython2.7.so.1.0: __isinf: symbol not found\r\n```\r\n\r\nI do understand that such prebuilt packages are evil, but there is not much I can do in this can except moving to another image for now. :(\r\n\r\nHowever, I would like to understand limits of musl libc better."}}