Skip to content

build report error in ubuntu20.04 #145

Open
@leyaocty

Description

@leyaocty

Hi, I am using your gl package and it works very well for most case. But when I try to build the program as a stand alone executable by command go build -x -v --ldflags -extldflags=-static, the go builder report error on ubuntu20.04:

/usr/bin/ld: cannot find -lGL
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status

I checked all possible paths and linked the libGL everywhere but still got same error. Would you please advise how to fix this or what may cause this issues of your gl package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions