On Fri, Mar 31, 2017 at 9:28 AM, Basile Starynkevitch
<bas...@starynkevitch.net> wrote:
>
> On Friday, March 31, 2017 at 4:14:19 PM UTC+2, Ian Lance Taylor wrote:
>>
>> On Fri, Mar 31, 2017 at 6:49 AM, Ian Lance Taylor <ia...@golang.org>
>> wrote:
>> >
>> > It depends.  The main command that generates output is `go install`,
>> > and it stores the output under $GOROOT/pkg.
>>
>> Whoops, I meant $GOPATH/pkg.  $GOROOT/pkg is only used for the standard
>> library.
>
>
>
> I'm still really confused by getting quite often a very cryptic message:
>
>  multiple roots /home/basile/go/pkg/linux_amd64 &
> /usr/lib/go-1.8/pkg/linux_amd64_dynlink
>
> the funny thing is that both of these are directories, not files. In my
> understanding that message means a conflict between two files for the same
> package. And I have no idea about what files have been conflicting. If the
> message is a conflict between files, why does not it name these files?

That error message means that the go tool does not know where to
install a file.  It may mean that you are trying to use
-buildmode=shared with some standard library packages and some
packages from your GOPATH.  It's not a conflict between different
files; it's talking about which directory it should put the shared
library in.

Ian

-- 
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.

Reply via email to