Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New release for updated shared linux libraries? Add static linked binary to releases? #2

Closed
cskwrd opened this issue Jan 15, 2025 · 5 comments

Comments

@cskwrd
Copy link

cskwrd commented Jan 15, 2025

Can a new release be made with updated shared libraries?

My pipeline fails with the error:
error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Is it possible to statically link the binary so that it just has everything it needs?

@Easyoakland
Copy link
Owner

My pipeline fails with the error

Could you describe your "pipline" in more detail?

Is it possible to statically link the binary so that it just has everything it needs?

Let me know if the musl artifact here works. I don't see anything on readelf -d

@cskwrd
Copy link
Author

cskwrd commented Jan 17, 2025

It’s just a basic GitHub action running on an Ubuntu agent. Nothing special.

      - name: Install rr-dl
        run: |
          cd "${RUNNER_TEMP}"
          downloadUrl=`wget -qO- https://api.github.com/repos/Easyoakland/royalroad-dl/releases/latest | jq --raw-output 'first(.assets[].browser_download_url | select(test("linux.*xz$")))'`
          wget -qO "${RUNNER_TEMP}/rr-dl.tar.xz" "$downloadUrl"
          mkdir -p "${RUNNER_TEMP}/rr-dl"
          tar -xf "${RUNNER_TEMP}/rr-dl.tar.xz"
          extracted=`basename "$downloadUrl"`
          mv "${RUNNER_TEMP}/${extracted%.tar.xz}/royalroad-dl" "${RUNNER_TEMP}/royalroad-dl"
          chmod u+x "${RUNNER_TEMP}/royalroad-dl"
          cd -

I’ll give the download a go.

@Easyoakland
Copy link
Owner

Easyoakland commented Jan 17, 2025

It’s just a basic GitHub action running on an Ubuntu agent. Nothing special.

I'm curious why you would choose to do this. Do you have GitHub actions running a periodic download?

@cskwrd
Copy link
Author

cskwrd commented Jan 17, 2025

Yes! I use it to make an emergency archive (extra backup) for my book.

I tested the musl binary you linked above. It seemed to run just fine locally.

@Easyoakland
Copy link
Owner

Released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants