[ 
https://issues.apache.org/jira/browse/THRIFT-5311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17232717#comment-17232717
 ] 

Zezeng Wang edited comment on THRIFT-5311 at 11/16/20, 12:20 PM:
-----------------------------------------------------------------

[~rbalachandar]
{quote}its not reset-safe. I pass path during "./configure 
--with-boost=/path/i/want". It looks like, static lib search needs to be 
documented.
{quote}
It's need the a libboost_unit_test_framework.a,it couldn't be 
libboost_unit_test_framework.so.
{quote}I have tried it as well and it did not work. I tried "git clone" 2 times 
and build from sources 2 times.
{quote}
Because the git clone command usually fails to be downloaded.So, use the 
command "wget".

And, I find another way to fix it in this issue.
[THRIFT-2799|https://issues.apache.org/jira/browse/THRIFT-2799?orderby=created+DESC]
bq.A colon snuck into your library name. Your link line has 
-l:libboost_unit_test_framework.a. Remove the : and you have a better chance at 
success.



May those message can give help to you.


was (Author: zeshuai007):
{quote}its not reset-safe. I pass path during "./configure 
--with-boost=/path/i/want". It looks like, static lib search needs to be 
documented.
{quote}
It's need the a libboost_unit_test_framework.a,it couldn't be 
libboost_unit_test_framework.so.
{quote}I have tried it as well and it did not work. I tried "git clone" 2 times 
and build from sources 2 times.
{quote}
Because the git clone command usually fails to be downloaded.So, use the 
command "wget".

And, I find another way to fix it in this issue.
[THRIFT-2799|https://issues.apache.org/jira/browse/THRIFT-2799?orderby=created+DESC]
bq.A colon snuck into your library name. Your link line has 
-l:libboost_unit_test_framework.a. Remove the : and you have a better chance at 
success.



May those message can give help to you.

> g++: error: /libboost_unit_test_framework.a: No such file or directory
> ----------------------------------------------------------------------
>
>                 Key: THRIFT-5311
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5311
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.13.0
>         Environment:  
> ls /usr/lib/x86_64-linux-gnu/libboost_unit*
> /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.a 
> /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
> /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so
>  
> $ ./configure --without-java --without-mono --with-boost=/usr/lib
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> hostname = VirtualBox
> uname -m = x86_64
> uname -r = 5.4.0-52-generic
> uname -s = Linux
> uname -v = #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020
> /usr/bin/uname -p = x86_64
> /bin/uname -X = unknown
>            Reporter: Balachandar Rajarathinam
>            Priority: Major
>
> libtool: link: g++ -std=c++11 -Wall -Wextra -pedantic -g -O2 -o 
> .libs/processor_test processor/ProcessorTest.o processor/EventLog.o 
> processor/ServerThread.o ./.libs/libprocessortest.a 
> ../../../lib/cpp/.libs/libthrift.so ../../../lib/cpp/.libs/libthriftnb.so 
> /libboost_unit_test_framework.a -levent -lrt -lpthread
> g++: error: /libboost_unit_test_framework.a: No such file or directory
> make[5]: *** [Makefile:1322: processor_test] Error 1



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to