indygreg / indygreg/PyOxidizer
Built binary unable to find packaged dependencies
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 256
- PR merge metrics
- No merged PRs in 30d
Description
I am running into an issue where I am building a binary of SaltStack and the binary is failing to find dependency modules that are definitely included. The dependency in question is python-ldap, which is in the `lib` directory next to the binary, but when ran you get the following:
```shell
==> /var/log/salt/master <==
2021-08-23 11:20:40,130 [salt.loaded.int.auth.ldap:339 ][ERROR ][8475] LDAP authentication requires python-ldap module
```
Is there some method of importing that can be used to solve this?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the SaltStack binary build with python-ldap present in the lib directory next to the binary. Investigate PyOxidizer's packaged-dependency import handling; done when the built binary loads python-ldap and the LDAP authentication error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100