Skip to content

Linker errors for _curl_easy_* from libgit2.a #474

Closed
@phatblat

Description

@phatblat

Since 1b3f6aa, I'm getting the following linker errors when building ObjectiveGit:

Undefined symbols for architecture x86_64:
  "_curl_easy_cleanup", referenced from:
      _curls_close in libgit2.a(curl_stream.c.o)
  "_curl_easy_getinfo", referenced from:
      _curls_connect in libgit2.a(curl_stream.c.o)
      _curls_certificate in libgit2.a(curl_stream.c.o)
  "_curl_easy_init", referenced from:
      _git_curl_stream_new in libgit2.a(curl_stream.c.o)
  "_curl_easy_perform", referenced from:
      _curls_connect in libgit2.a(curl_stream.c.o)
  "_curl_easy_recv", referenced from:
      _curls_read in libgit2.a(curl_stream.c.o)
  "_curl_easy_send", referenced from:
      _curls_write in libgit2.a(curl_stream.c.o)
  "_curl_easy_setopt", referenced from:
      _git_curl_stream_new in libgit2.a(curl_stream.c.o)
      _curls_set_proxy in libgit2.a(curl_stream.c.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This happens in both Xcode 6.4 and 6.3.2 on OS X 10.10.4.

It's my fault for not catching this before merging #472.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions