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

Unable to Use libopenSSL in compiled application #757

Open
magicaldave opened this issue Dec 8, 2024 · 0 comments
Open

Unable to Use libopenSSL in compiled application #757

magicaldave opened this issue Dec 8, 2024 · 0 comments

Comments

@magicaldave
Copy link

Hi!

I'm very excited to transition my python app from nuitka to a rust-first binary with signing etc. I've got almost everything working. Here's my pyoxidizer.bzl file: (as a .txt, because github)

pyoxidizer.txt

The goal of this particular project is simple: Shut up, be a binary, load the python code that does the real work.
This almost works perfectly, but I can't quite tell why pyoxidizer is missing the libopenssl library curldl is after, here.
Runtime logs follow:

18:51:37 sk3shun-8@UNDEAD-ASYLUM GitHub/umomwd ? 1 % ./src-rs/build/x86_64-unknown-linux-gnu/debug/install/umo-rs info
Traceback (most recent call last):
  File "runpy", line 196, in _run_module_as_main
  File "runpy", line 86, in _run_code
  File "umo", line 554, in <module>
  File "umo", line 206, in <lambda>
  File "umo", line 179, in call_subcmd
  File "subcmds", line 35, in <module>
  File "handlers", line 27, in <module>
  File "curldl", line 3, in <module>
  File "curldl.curldl", line 12, in <module>
ImportError: libssl-52849bc7.so.1.1.1k: cannot open shared object file: No such file or directory

Just to be clear, I've got libssl-1.1 all over my system in tons of locations. But not under this specific name. So it seems clear to me that pyoxidizer is linking against something I've not actually provided in my config... I'm just not sure how to tell it to link against that!

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

1 participant