Skip to content

cmd/ld: linking of go-sqlite3 failing in MacOSX 10.6 #8211

Closed
@gopherbot

Description

@gopherbot

by relishpl:

go version go1.2.2 darwin/amd64
MacOSX 10.6.8 (2011 Macbook Air)

What steps reproduce the problem?
1. go get code.google.com/p/go-sqlite/go1/sqlite3
2. go install -ldflags -linkmode=external relish/relish   # A program that imports
sqlite3 package

What happened?

# relish/relish
ld: in /var/folders/D1/D15nqFpwE3qvRmejtXleAE+++TI/-Tmp-//go-link-vJ7Xxe/go.o, in
section __TEXT,__text reloc 0: local relocation for address 0x00002067 in section __text
does not target section __rodata
collect2: ld returned 1 exit status
/usr/local/go/pkg/tool/darwin_amd64/6l: running gcc failed: unsuccessful exit status
0x100

What should have happened instead?
Successful build

Please provide any additional information below.

Is this related to bug 5130? How do I proceed?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions