views:

25

answers:

0

I am trying to install thrift in solaris, so I can play with it. But unfortunately, I can't get configure working. Here is the command I use to configure.

./configure --prefix=<> CFLAGS='-m64 -O3' CXXFLAGS='-m64 -O3' --with-boost=

I get this error as follows.

checking for boostlib >= 1.33.1... configure: error: We could not detect the boost libraries (version 1.33 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation.

I have tried building and installing boost 1.35 & boost 1.38, no luck. I didn't do bootstrap.sh as I downloaded the tar file which already had configure file. I have tried various things over the last couple of days, tried various things that google pointed to. I have also checked the permissions of the files and set it to 777, but for some reason, I am not able to get it to work and seemed to be badly stuck. Any idea or thoughts? I just want to get the thrift binary so I can use to compile thrift files.

However, I managed to find a thrift binary somewhere, but when I execute

bin/thrift -gen cpp logger.thrift

ld.so.1: thrift: fatal: relocation error: file bin/thrift: symbol ZSt16_ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l: referenced symbol not found

I have added the path of ld.so.1 to $PATH, $LD_LIBRARY_PATH and $LD_LIBRARY_PATH_64, but still its complaining.

I would really appreciate any thoughts or feedback on this.