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

Cannot compile on 64bit because file stubs-32.h is missing #1689

Closed
gopherbot opened this issue Apr 13, 2011 · 5 comments
Closed

Cannot compile on 64bit because file stubs-32.h is missing #1689

gopherbot opened this issue Apr 13, 2011 · 5 comments

Comments

@gopherbot
Copy link
Contributor

by alecclews:

When compiling golang on Ubuntu 10.10 on 64 bit platform build fails with message:

    "fatal error: gnu/stubs-32.h: No such file or directory"


Install the 32 bit libraries to fix. viz:

    "sudo apt-get install libc6-dev-i386"

Suggest the install page is updated.
@rsc
Copy link
Contributor

rsc commented Apr 13, 2011

Comment 1:

Owner changed to @adg.

Status changed to Accepted.

@davecheney
Copy link
Contributor

Comment 2:

What was your GOARCH set to?

@gopherbot
Copy link
Contributor Author

Comment 3 by alecclews:

Oops, <looks sheepish>
It was "386". I copied it into my .bashrc file without paying attention :-(
Sorry about that

@rsc
Copy link
Contributor

rsc commented Apr 13, 2011

Comment 4:

Still worth documenting.  Sometimes people want 32-bit binaries.

@adg
Copy link
Contributor

adg commented Apr 14, 2011

Comment 5:

This issue was closed by revision eb5e4b8.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc unassigned adg Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants