Comments (7)
I believe there is a Node image for Alpine, maybe that will be easier than trying to run the binary. My only experience with Node is running Node RED, but I will try giving it a shot. It looks like if I install
npx
withnpm
then I can just runnpx podcast-dl
?
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
from podcast-dl.
Thank you for the bug report!
I'm going to track this Alpine issue over in pkg that I suspect is the likely culprit. After it is resolved I'll rebuild the binaries for Alpine and attach them to the latest release.
There's a potential workaround mentioned here if you'd like to try that in mean time.
from podcast-dl.
After adding
apk add libstdc++
apk add libgcc
to the previous Dockerfile, there are still issues.
While there is no longer a "segmentation fault" there still seems be a missing dependency.
Running the binary gives sh: podcast-dl: not found
which according to this could mean a missing dependency.
Output from ldd
gives
/lib64/ld-linux-x86-64.so.2 (0x152788d53000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x152788d53000)
librt.so.1 => /lib64/ld-linux-x86-64.so.2 (0x152788d53000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x152788bba000)
libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x152788d53000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x152788ba6000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x152788d53000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x152788d53000)
Error relocating podcast-dl: gnu_get_libc_version: symbol not found
Error relocating podcast-dl: __register_atfork: symbol not found
Error relocating podcast-dl: __strdup: symbol not found
Error relocating podcast-dl: setcontext: symbol not found
Error relocating podcast-dl: makecontext: symbol not found
Error relocating podcast-dl: backtrace: symbol not found
Error relocating podcast-dl: getcontext: symbol not found
from podcast-dl.
I saw another comment saying they had better luck with the Node 10 pkg image used for Alpine. I quickly tested to make sure the CLI works with that Node version, and uploaded that binary here if you'd like to try that one on your Alpine image.
Let me know if that one works. 👍
from podcast-dl.
Similar issues unfortunately. I tried the new package with and without libstd++ libgcc
as well on Alpine 3.11, 3.10, and 3.9. With libstd++ libgcc
it gives a segmentation fault and without it gives a much of linking errors.
I believe there is a Node image for Alpine, maybe that will be easier than trying to run the binary. My only experience with Node is running Node RED, but I will try giving it a shot. It looks like if I install npx
with npm
then I can just run npx podcast-dl
?
from podcast-dl.
Oh, that's awesome! Glad it worked out. 😃
from podcast-dl.
Closing for now until pkg resolve the issue on their end, and then I'll start adding the Alpine binaries back to the releases. 👍
from podcast-dl.
Related Issues (20)
- Archive re-downloading podcast imagery HOT 3
- Add date range examples HOT 2
- Automatically retry failed downloads HOT 3
- TypeError [ERR_INVALID_ARG_VALUE] HOT 3
- v8 Preparation & Discussion
- TimeoutError: Timeout awaiting 'request' for 5000ms HOT 6
- Proxy support HOT 2
- Strange duplication of directory names HOT 3
- A 0-byte archive file crashes podcast-dl HOT 2
- ERR_INVALID_URL HOT 3
- Unable to parse RSS URL Hostname/IP does not match certificate's altnames: Host: podiobooks.com. is not in the cert's altnames: DNS:scribl.com, DNS:www.scribl.com
- Option `episode-digits` has no effect on `episode-image` or `episode-meta` HOT 1
- Handling problematic feeds HOT 11
- Only downloads last 100 episodes HOT 2
- Support ffmpeg for more file types HOT 2
- Feature request: out-dir Templating options HOT 2
- Escape all metadata params passed into ffmpeg when using '--add-mp3-metadata' HOT 10
- Escape all metadata params passed into ffmpeg when using '--add-mp3-metadata HOT 1
- Feature Request: Download RSS podcast using Local RSS file HOT 3
- Can mp3/m4a files be downloaded from podcast links directly? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podcast-dl.