Hi all I try to compile and statically link the following example: https://github.com/rthornton128/goncurses/tree/master/examples/curs_menu I use this command: go build -ldflags '-w -extldflags "-static"' -a
Unfortunately i get only this: /usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: cannot find -lformw /usr/bin/ld: cannot find -lmenuw /usr/bin/ld: cannot find -lncursesw /usr/bin/ld: cannot find -lpanelw collect2: error: ld returned 1 exit status I have verified that all necessary libs are under /lib64, but the linker still complains. I'd appreciate any clues on this topic. Cheers, -- 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.