thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Reiss <>
Subject Re: trunk revision 753622 build error
Date Thu, 19 Mar 2009 09:43:41 GMT
Be sure to set that when you run ./configure as well.  The
configure script attempts to get information about the environment,
and if you don't have your environment set up properly when you run
it, it will get the wrong information.  I just set that value before
running configure and make, and I got a clean build.

I encountered a bug when running with -j8 though.  I'll try to fix
it ASAP, but you should stick to a serial build for now.


xu xiong wrote:
> Hi David,
> Sorry I forgot to set the library path.
> [thriftTest@localhost ~]$ export LD_LIBRARY_PATH=/usr/local/lib
> [thriftTest@localhost ~]$ ./a.out
> [thriftTest@localhost ~]$ echo $?
> 0
> Can you try again?
> -Xiong
> 2009/3/19 David Reiss <>:
>> Thanks for the account.  It seems that I cannot compile and run
>> even a trivial C++ program on your host:
>> [thriftTest@localhost ~]$ cat
>> int main() { return 0; }
>> [thriftTest@localhost ~]$ g++ -Wall
>> [thriftTest@localhost ~]$ ./a.out
>> ./a.out: /lib/ version `GCC_4.2.0' not found (required by /usr/lib/
>> [thriftTest@localhost ~]$ echo $?
>> 1
>> It looks like maybe your libstdc++ and gcc are not compatible?
>> I'm not really sure how to fix this, but I would suggest starting
>> by reinstalling gcc, g++, and libstdc++.  (I am not liable if
>> this totally breaks your machine.  It is just a guess.)
>> I'll also create a task to make configure fail faster when
>> problems like this occur.  We could have given you a *much*
>> better error message.
>> --David
>> David Reiss wrote:
>>> I'm not sure what the problem is, then.  This has never been
>>> reported before.  If you have a shell account that you can
>>> give me access to where I can reproduce the problem, I can
>>> try to solve it, otherwise I'm not sure what else to try.
>>> --David
>>> xu xiong wrote:
>>>>> Can you try compiling a file containing only...
>>>>> #include <cstdlib>
>>>>> with the command "g++ -c -Wall"?  If that doesn't work,
>>>>> you definitely have something wronte with your libc or libstdc++
>>>>> installation.  If it does, I'm not sure what the problem is.
>>>> It does work.
>>>> So I'm totally lost.
>>>> Can the glibc is not configured right?
>>>> I also tried to compile glibc2.6.1 but failed.
>>>> -Xiong

View raw message