question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work with Mac OSX

See original GitHub issue

Documentation does not state which platforms are supported for development, so one would guess any platform supported by golang is good but…

Following the getting started from Mac OS, when doing the go run main.go …

INFO[0000] ../../github.com/mweagle/Sparta/sparta_main_awsbinary.go:17:2: cannot find package "github.com/zcalusic/sysinfo" in any of:

INFO[0000] 	/Users/marc/.gvm/gos/go1.9/src/github.com/zcalusic/sysinfo (from $GOROOT)
INFO[0000] 	/Users/marc/go/src/github.com/zcalusic/sysinfo (from $GOPATH)
INFO[0000] Invoking rollback functions

As far as I understand zcalusic/sysinfo is Linux only.

go version go1.9 darwin/amd64 GOARCH=“amd64” GOBIN=“/Users/marc/go/bin” GOHOSTARCH=“amd64” GOHOSTOS=“darwin” GOOS=“darwin” CC=“clang” GOGCCFLAGS=“-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/lc/80799yss6klb3_ft_szyfgyr0000gn/T/go-build360770781=/tmp/go-build -gno-record-gcc-switches -fno-common” CXX=“clang++”

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mweaglecommented, Feb 13, 2018

Added a precondition check - will be available in 1.0.2:

...

ERRO[0000] Failed to validate preconditions: Please run `go get -u -v github.com/zcalusic/sysinfo` to install this Linux-only package. This package is used when cross-compiling your AWS Lambda binary and cannot be reliably imported across platforms
exit status 1
0reactions
mweaglecommented, Mar 25, 2018

Released with 1.1.0. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
Mac OS X: at command not working - Super User
I saw the job is scheduled by using at -l. However, I saw no echo out. I guess that I may need to...
Read more >
macOS Catalina problems: how to fix the most common ...
We walk you through how to solve the most common macOS Catalina problems, from installation issues to hardware malfunctions and everything ...
Read more >
How to Determine Which Apps may or may not work in macOS ...
How to Determine Which Apps may or may not work in macOS Big Sur · Choose "About This Mac" · Click on "System...
Read more >
How to Fix When macOS 11 Apps Not Working
How to Fix macOS 11 Apps not Working · Restart your macOS 11 · Force Quit the App · Update the macOS 11...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found