Code Monkey home page Code Monkey logo

Comments (7)

garrettdowd avatar garrettdowd commented on June 15, 2024 1

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?

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.

lightpohl avatar lightpohl commented on June 15, 2024

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.

garrettdowd avatar garrettdowd commented on June 15, 2024

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.

lightpohl avatar lightpohl commented on June 15, 2024

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.

garrettdowd avatar garrettdowd commented on June 15, 2024

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.

lightpohl avatar lightpohl commented on June 15, 2024

Oh, that's awesome! Glad it worked out. 😃

from podcast-dl.

lightpohl avatar lightpohl commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.