Sqllite3与Golang

huangapple go评论102阅读模式
英文:

Sqllite3 with Golang

问题

今天,gogland下载了新的更新,在获取更新后,显示以下错误消息。之前它正常工作。请提供解决此问题的建议。

GOROOT=/usr/local/go
GOPATH=/home/minhaj/GoLang
/usr/local/go/bin/go build -o /home/minhaj/GoLang/bin/GoLangRun -gcflags "-N -l" "-ldflags=-linkmode internal" /home/minhaj/GoLang/src/IndoorMass/IndoorMain.go

command-line-arguments

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol close 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol access 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol getcwd 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol ftruncate64 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol fcntl 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol read 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol write 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol fchmod 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol unlink 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol mkdir 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol rmdir 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol fchown 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol geteuid 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol mmap64 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol munmap 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol mremap 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): dynamic symbol readlink 的 R_X86_64_64 重定位错误

github.com/mattn/go-sqlite3(.data.rel): close 的未处理重定位 (类型 42 rtype 1)

github.com/mattn/go-sqlite3(.data.rel): access 的未处理重定位 (类型 42 rtype 1)

github.com/mattn/go-sqlite3(.data.rel): getcwd 的未处理重定位 (类型 42 rtype 1)

github.com/mattn/go-sqlite3(.data.rel): 未定义重定位目标 stat64
/usr/local/go/pkg/tool/linux_amd64/link: 错误太多
英文:

Today, gogland download new updates and after getting updates, it shows below error message. Previously it worked fine. Please advise to solve the issue.

GOROOT=/usr/local/go
GOPATH=/home/minhaj/GoLang
/usr/local/go/bin/go build -o /home/minhaj/GoLang/bin/GoLangRun -gcflags "-N -l" "-ldflags=-linkmode internal" /home/minhaj/GoLang/src/IndoorMass/IndoorMain.go

command-line-arguments

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol close

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol access

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol getcwd

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol ftruncate64

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol fcntl

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol read

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol write

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol fchmod

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol unlink

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol mkdir

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol rmdir

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol fchown

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol geteuid

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol mmap64

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol munmap

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol mremap

github.com/mattn/go-sqlite3(.data.rel): unexpected R_X86_64_64 relocation for dynamic symbol readlink

github.com/mattn/go-sqlite3(.data.rel): unhandled relocation for close (type 42 rtype 1)

github.com/mattn/go-sqlite3(.data.rel): unhandled relocation for access (type 42 rtype 1)

github.com/mattn/go-sqlite3(.data.rel): unhandled relocation for getcwd (type 42 rtype 1)

github.com/mattn/go-sqlite3(.data.rel): relocation target stat64 not defined
/usr/local/go/pkg/tool/linux_amd64/link: too many errors

答案1

得分: 0

问题已经通过更新Gogland到版本Gogland-171.4424.55来解决。

英文:

Issue is fixed just by updating gogland to version Gogland-171.4424.55

huangapple
  • 本文由 发表于 2017年5月12日 00:38:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/43921206.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定