Skip to content

PSSQLite.psm1 loading the wrong .DLL on Linux! #34

Description

@Gill-Bates

You should fix Line 8 of PSSQLite.psm1

if ($PSEdition -like 'core')

The Powershell Core x64 Global Variable $PSEdition on Linux delivers "core" instead of "Core".

Because you asking explicit for "-eq", this will result in loading the wrong DLLs:

Exception calling "Open" with "0" argument(s): "Unable to load shared library 'SQLite.Interop.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSQLite.Interop.dll: cannot open shared object file: No such file or directory"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions