Skip to content

Cannot build openssl on Linux #4001

@coryan

Description

@coryan

Running:

vcpkg install openssl

fails for me with this error in the log:

/bin/sh: cp: command not found

The problem is that the build script manages to do this:

export "PATH=/usr/bin:<skipped>:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;/usr/bin"

Note the semi-colon in the path, right after :/bin. That tells the shell to search for binaries in /bin;/usr/bin a directory that does not exist. I cannot figure out what exactly is doing that, but maybe it is obvious to the maintainers.

I can workaround the problem by running:

PATH=$PATH:/dummy vcpkg install openssl

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions