Alpine Binary Issues
See original GitHub issueThanks for publishing this tool! I have tried it out on Ubuntu and it seems to work well.
However, I would like to run this in a container with an alpine linux base image. The binary does not work currently. I have tested it with the following Dockerfile
FROM alpine:3.11
WORKDIR /usr/local/bin
RUN wget https://github.com/lightpohl/podcast-dl/releases/download/v1.3.1/podcast-dl-linux-x64 \
&& chmod +x podcast-dl-linux-x64 \
&& mv podcast-dl-linux-x64 podcast-dl \
&& mkdir /downloads
WORKDIR /downloads
CMD ["ldd", "/usr/local/bin/podcast-dl"]
#CMD ["podcast-dl", "--help"]
#CMD ["tail","-f","/dev/null"]
which can be built with docker build --tag podcast-dl:1.3.1 .
and run with docker run --name podcast-dl -it podcast-dl:1.3.1
ldd
displays the issues with the binary and I do not know where to go from here.
EDIT: a snippet of the ldd
output
Error relocating /usr/local/bin/podcast-dl: _ZNSsC1ERKSsmm: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZnamRKSt9nothrow_t: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZNKSs7compareEPKc: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZNSt11logic_errorD1Ev: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZdlPvRKSt9nothrow_t: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZNSs15_M_replace_safeEmmPKcm: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZNSsD1Ev: symbol not found
Error relocating /usr/local/bin/podcast-dl: backtrace: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZNSsC1EPKcRKSaIcE: symbol not found
Error relocating /usr/local/bin/podcast-dl: getcontext: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZNSt15basic_streambufIcSt11char_traitsIcEE6setbufEPcl: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZNSo9_M_insertIxEERSoT_: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZNSs7reserveEm: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZTISt9exception: symbol not found
Error relocating /usr/local/bin/podcast-dl: _ZTVSt12domain_error: symbol not found
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Docker Alpine executable binary not found even if in PATH
On Alpine Linux, the not found error is a typical symptom of dynamic link failure. It is indeed a rather confusing error by...
Read more >Problem with the linux binaries on Alpine · Issue #1818 - GitHub
Hi there. I wasn't able to download and install the linux binaries properly on Alpine linux. I've created a Dockerfile to recreate the...
Read more >Support running Kotlin/Native-produced binaries on Alpine ...
I've recently come across this issue. I see that alpine support has been removed from the roadmap. Would it be possible to get...
Read more >Alpine Linux - Wikipedia
For security, Alpine compiles all user-space binaries as position-independent executables with stack-smashing protection. Because of its small size and rapid ...
Read more >About - Alpine Linux
Alpine Linux was designed with security in mind. All userland binaries are compiled as Position Independent Executables (PIE) with stack smashing protection.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes this was much easier. I just installed with npm and it works perfectly. I will push it to Docker Hub and maybe (in the near future) build a little web gui like youtube-dl-server to make it quicker to use. I will update this post with a link when it’s up.
EDIT: Here it is. A very rudimentary setup with WEB interface that works. https://hub.docker.com/repository/docker/garrettdowd/podcast-dl-server
Closing for now until pkg resolve the issue on their end, and then I’ll start adding the Alpine binaries back to the releases. 👍