-
Notifications
You must be signed in to change notification settings - Fork 295
go: unknown relocation type 42; compiled without -fpic? #1057
Comments
I have seen other issues with this error message reported. Try |
It looks as though this issue is known upstream. See |
Maybe my
Please report |
HI thanks for all the help! :) I did see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807136 but I assumed that it would be "handled" by brew since it's installed in the native environment - i.e. it is buildable (somehow) doing a dpkg -l :
testing :
i.e. it throws the same errors.
and
Thanks! |
This comment golang/go#13114 (comment) mentions setting the environment variable |
Perhaps I misunderstood though. Try CGO_ENABLED=0 brew install go |
Fixed !
after setting PATH and logout ..
Thanks! |
Great! |
From @int03h on April 8, 2016 15:16
Trying to brew install go on debian SID .. (I did try it on testing too) .. it does compile natively on the OS, not problem. ( tried with and without export
HOMEBREW_BUILD_FROM_SOURCE=1
)I compiled ethereum-cpp successfully but I can't get GETH ( go version to compile because of it's dependency on golang )
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
?https://gist.github.com/1b3367f01fd05e67af2c027782cab3f9
thanks!
int
Copied from original issue: Homebrew/brew#48
The text was updated successfully, but these errors were encountered: