Skip to content

[Bug]: some preinstalled perl modules do not work without c\bin in PATH #7504

@xworld21

Description

@xworld21

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

perl

Expected/Current Behaviour

Perl modules included in the Strawberry Perl distribution that rely on certain binary libraries can fail to load, because the libraries are distributed in perl\c\bin. That folder was removed from PATH back in #2832 and that breaks those modules. I normally add the folder to PATH for other reasons, so I never noticed the issue until now.

Steps to Reproduce

PS> scoop install perl
[...]
PS> perl -MXML::LibXML
Can't load '[...]/scoop/apps/perl/current/perl/vendor/lib/auto/XML/LibXML/LibXML.xs.dll' for module XML::LibXML: load_file:The specified module could not be found at [...]/scoop/apps/perl/current/perl/lib/XSLoader.pm line 94.

Possible Solution

Add back "c\\bin" to "env_add_path".

Scoop and Buckets Version

Current Scoop version:
b588a06e (HEAD -> master, origin/master, origin/HEAD) chore(release): Bump to version 0.5.3 (resync) (#6436)

'main' bucket:
b4f603aec1 (HEAD -> master, origin/master, origin/HEAD) usql: Update to version 0.20.6

'extras' bucket:
8e351a294a (HEAD -> master, origin/master, origin/HEAD) vlc: Update to version 3.0.23

Scoop Config

last_update         scoop_repo                              scoop_branch
-----------         ----------                              ------------
08/01/2026 16:20:50 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.5.4
PSEdition                      Core
GitCommitId                    7.5.4
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions