Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2906

library not found for -l:libboost_unit_test_framework.a

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 0.9.2
    • None
    • Mac OS X 10.10.1 (Darwin 14.0.0)

      Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
      Target: x86_64-apple-darwin14.0.0
      Thread model: posix

    • Patch Available

    Description

      The ld(1) (clang) that ships with Mac OS X 10.10.1 doesn't understand the -l:libfoo.a syntax that it used to link libboost_unit_test_framework.a:

      /bin/sh ../../../libtool  --tag=CXX   --mode=link g++ -Wall -Wextra -pedantic -g -O2 -std=c++11 -L/usr/local/lib  -o processor_test processor/ProcessorTest.o processor/EventLog.o processor/ServerThread.o libprocessortest.la ../../../lib/cpp/libthrift.la ../../../lib/cpp/libthriftnb.la -L/usr/local/lib -levent -l:libboost_unit_test_framework.a -lssl -lcrypto -lpthread
      libtool: link: g++ -Wall -Wextra -pedantic -g -O2 -std=c++11 -o .libs/processor_test processor/ProcessorTest.o processor/EventLog.o processor/ServerThread.o -Wl,-bind_at_load  -L/usr/local/lib ./.libs/libprocessortest.a ../../../lib/cpp/.libs/libthrift.dylib -L/usr/local/Cellar/openssl/1.0.1j_1/lib ../../../lib/cpp/.libs/libthriftnb.dylib -levent -l:libboost_unit_test_framework.a -lssl -lcrypto -lpthread
      ld: library not found for -l:libboost_unit_test_framework.a
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hcorg Konrad Grochowski
            jparise Jon Parise

            Dates

              Created:
              Updated:

              Slack

                Issue deployment