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
- duplicates
-
THRIFT-2799 Build Problem(s): ld: library not found for -l:libboost_unit_test_framework.a
- Closed
- is duplicated by
-
THRIFT-5311 g++: error: /libboost_unit_test_framework.a: No such file or directory
- Resolved
-
THRIFT-3327 libboost_unit_test_framework.a not found during build
- Closed
- is related to
-
THRIFT-3249 Build on slackware fails without static boost libraries
- Reopened
-
THRIFT-1771 "make check" fails on x64 for libboost_unit_test_framework.a
- Closed