Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:No rule to make target `/usr/local/lib/libboost_unit_test_framework.a'

Tags:

thrift

Tried to compile thrift 0.8 in my laptop(ubuntu 11.10 64bit),got this error.Anyone can help me?

like image 753
Alex Luya Avatar asked Jan 16 '23 05:01

Alex Luya


2 Answers

in centOs 7:

libboost_unit_test_framework.a is a static lib .

you need to install a static boost lib:

yum install boost-devel-static

like image 122
Gavin Avatar answered Jan 24 '23 23:01

Gavin


I found the solution investigatng a similar issue with thrift 1.0.0-dev on debian jessie armhf:

Set a softlink to libboost_unit_test_framework.a to complete the build.
See https://issues.apache.org/jira/browse/THRIFT-3327

like image 39
K. Jensen Avatar answered Jan 24 '23 22:01

K. Jensen