Skip to content

Error while compiling in windows #10

@palevi67

Description

@palevi67

Hi,

When I compile zen-go under windows11, I get a linker error:

C:\Users\pablo\svn\spark2\golang\zen-go>go test
# github.com/gorules/zen-go.test
C:\Program Files\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
C:/Users/pablo/scoop/apps/gcc/13.2.0/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldl: No such file or directory
collect2.exe: error: ld returned 1 exit status

FAIL    github.com/gorules/zen-go [build failed]

I use gcc v13.2.0 installed from https://scoop.sh/

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions