Port lang/go installs properly, and issuing the command
So I added to /etc/libmap.conf
Is this what I should have done?
I have lang/gcc46, lang/gcc47, lang/gcc48. lang/gcc49, lang/clang33 and I think I have another version of Clang installed as well. None of them install a version oflib.c.so.# libc.so.#.
Any advice??? Should I recompile? Should I lipmap to the Linux libc? I mean, maybe that's what it's looking for but I don't think the Linuxulator is required for this port.
go run hello.go
produces typical "Hello, world!" from the console. However, I have yet to try to actually compile anything even of medium size and I can't even remember the name of the Go compiler (6g or something like that on amd64?). Anyways, when I built it using Portmaster gave the following message: portmaster lang/go
Code:
Installed commands in /usr/ports/lang/go/work/go/bin
The binaries expect /usr/ports/lang/go/work/go to be copied or moved to /usr/local/go
===> Staging for go-1.2,1
===> Generating temporary packing list
====> Compressing man pages (compress-man)
===> Installing for go-1.2,1
===> Checking if lang/go already installed
===> Registering installation for go-1.2,1
pkg-static: (go-1.2,1) /usr/ports/lang/go/work/stage//usr/local/go/src/pkg/debug/elf/testdata/gcc-386-freebsd-exec - [b]shared library libc.so.6 not found[/b]
Installing go-1.2,1... done
find / | grep libc.so.6
Code:
/compat/linux/lib/libc.so.6
find / | grep libc.so.
Code:
(...a bunch of stuff from /usr/src/lib/libc.....)
/usr/lib32/libc.so.7
/lib/libc.so.7
/compat/linux/lib/libc.so.6
So I added to /etc/libmap.conf
Code:
libc.so.6 libc.so.7
I have lang/gcc46, lang/gcc47, lang/gcc48. lang/gcc49, lang/clang33 and I think I have another version of Clang installed as well. None of them install a version of
Any advice?