gyaan
(Gyaneshwar Pardhi)
October 25, 2018, 5:24pm
1
Hi i am getting following error while bulding a golang project
Any idea how to resolve this.
/usr/local/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
duplicate symbol _gostream in:
/var/folders/l6/xygpqgrx4vb7fw29h5cl_dmh0000gq/T/go-link-593658806/000018.o
/var/folders/l6/xygpqgrx4vb7fw29h5cl_dmh0000gq/T/go-link-593658806/000028.o
duplicate symbol _gosource in:
/var/folders/l6/xygpqgrx4vb7fw29h5cl_dmh0000gq/T/go-link-593658806/000018.o
/var/folders/l6/xygpqgrx4vb7fw29h5cl_dmh0000gq/T/go-link-593658806/000028.o
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
cdujeu
(Charles)
November 12, 2018, 6:50pm
2
Hello @gyaan I’m coming across a similar issue, did you find any hints on where it came from?
Thx
Charles
cdujeu
(Charles)
November 13, 2018, 8:52am
3
Ok i nailed it - FYI it was an issue with the notify library.
gyaan
(Gyaneshwar Pardhi)
November 19, 2018, 7:10am
4
thanks for the update. so how did you fix that.
cdujeu
(Charles)
November 19, 2018, 8:30am
5
Hi, I had to update the github.com/rjeczalick/notify (go get -u github.com/rjeczalick/notify
) and update it inside the vendor/ folder (in my case the project uses govendor, so it was govendor update github.com/rjeczalick/notify
).
system
(system)
Closed
February 17, 2019, 8:30am
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.