Last active
August 29, 2015 14:22
-
-
Save OnlyInAmerica/67390471856b7dced976 to your computer and use it in GitHub Desktop.
Debugging a libtool error while building Apache Thrift 0.9.2 for Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local | |
... | |
$ make | |
... | |
/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 -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) | |
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 | |
# libboost_unit_test_framework.a is in /usr/local/lib/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment