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

Build Problem(s): ld: library not found for -l:libboost_unit_test_framework.a

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.3
    • Component/s: Build Process
    • Labels:
    • Environment:

      Mac OS X Yosemite

      Description

      /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 ../../../lib/cpp/.libs/libthriftnb.dylib /usr/local/lib/libevent.dylib -l:libboost_unit_test_framework.a -lssl -lcrypto -lpthread
      ld: library not found for -l:libboost_unit_test_framework.a
      collect2: error: ld returned 1 exit status
      make[4]: *** [processor_test] Error 1
      make[3]: *** [all-recursive] Error 1
      make[2]: *** [all-recursive] Error 1
      make[1]: *** [all-recursive] Error 1
      make: *** [all] Error 2
      David-Laxers-MacBook-Pro:thrift davidlaxer$ sudo port list select boost
      Password:
      boost @1.56.0 devel/boost

        Attachments

        1. 0001-THRIFT-2799-C-Fix-build-on-OS-X.patch
          2 kB
          Aiden Scandella
        2. config.log
          273 kB
          David Laxer
        3. Makefile
          76 kB
          David Laxer
        4. Makefile
          76 kB
          David Laxer
        5. Makefile
          30 kB
          David Laxer
        6. Makefile.am
          11 kB
          David Laxer
        7. Makefile.am
          11 kB
          David Laxer

          Issue Links

            Activity

              People

              • Assignee:
                jfarrell Jake Farrell
                Reporter:
                dbl001 David Laxer
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: