Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build report error in ubuntu20.04 #145

Open
leyaocty opened this issue Nov 21, 2021 · 0 comments
Open

build report error in ubuntu20.04 #145

leyaocty opened this issue Nov 21, 2021 · 0 comments

Comments

@leyaocty
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant