Add secondary check for library looking within File system if pkg-config could not locate the library
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start at the checkLibrary function used by wails doctor and inspect how pkg-config failures are handled; compare the requested /lib and /usr/lib fallback paths. Done means an installed library that pkg-config misses is checked by the fallback and wails doctor no longer reports it as missing.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Currently, the checkLibrary function is completely reliant on pkg-config. In some cases, even if a library is installed, it might not report properly.
Example
Using Fedora 43, even if webkit2gtk4.1-devel is installed, wails doctor will report it as missing.
Describe the solution you'd like
I would like to suggest a fallback if not detected to check the file /lib and /usr/lib paths for a second chance
Describe alternatives you've considered
Due to the many differences between distributions, after pkg-configm there isn't a reliable way of determining if libraries are installed without creating different paths depending on the distribution / package manager in use.
Additional context
PR present that Github should automatically link in just a moment
- Dominant language
- Go
- Stars
- 36.3k
- Forks
- 1.9k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 33
Contributor guide
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.
More from wailsapp/wails
-
Bug v3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Bug v3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Bug v3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Bug v2
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100