Skip to content

Add secondary check for library looking within File system if pkg-config could not locate the library #4852

@symball

Description

@symball

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions