On Wed, May 23, 2018 at 2:49 PM Sreekanth G <sreekanth.gud...@gmail.com> wrote:
Hi, I have install GoLang on Suse Linux on IBM cloud. go version is go1.10.2 linux/s390x > go path is > export PATH=$PATH:/usr/local/go/bin Note: That's PATH, not GOPATH. > export GOROOT=$HOME/go1.X > > export PATH=$PATH:$GOROOT/bin Note: Now the PATH may cause looking for Go binaries on two, possibly incompatible places depending on your current and/or previous Go installations wrt which version you intend to run. > linux1@sfhyperledger:~/go1.X/src/syndicateLoans> go build > # github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11 > exec: "s390x-linux-gnu-gcc": executable file not found in $PATH > > I got stuck here from 2 days.. I don’t know how will proceed. Could help from this error ? You should know where you have installed Go. It depends on the method used for installation. If you're not sure where the binary is, try something like `locate go` or `find / -name go` etc. Then make your $PATH point to only the correct directory. Note that editing ~/.profile is not effective until next login. You can try `source ~/.profile` or you can put the setup in ~/.bashrc instead and then just open a new terminal. HTH -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.