muthusuba / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

cannot configure serf with openssl #128

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install openssl following:
./config -prefix=$HOME/install/openssl --enable-shared
make
make install

2. install apr, apr-util

cd apr
./configure -prefix=$HOME/install/apr LDFLAGS=”-L/lib64″
make
make install
cd ..

#compile apr-util,–with-apr 
cd apr-util
./configure -prefix=$HOME/install/apr-util -with-apr=$HOME/install/apr 
LDFLAGS=”-L/lib64″
make
make install
cd ..

3. Then when i try to download serf and install it, the problem happened:
cd serf
./configure -prefix=$HOME/install/serf -with-apr=$HOME/install/apr 
-with-apr-util=$HOME/install/apr-util -with-openssl=$HOME/install/openssl

or 
python scons.py APR=$HOME/install/apr APU=$HOME/install/apr-util 
OPENSSL=$HOME/install/openssl PREFIX=$HOME/install/serf

There are some errors after type this command.

What is the expected output? What do you see instead?
the output is:
/usr/bin/ld: $HOME/install/openssl/lib/libssl.a(s23_clnt.o): relocation 
R_X86_64_32 against `.rodata' can not be used when making a shared object; 
recompile with -fPIC
$HOME/install/openssl/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

What version of the product are you using? On what operating system?

serf 1.3.1 and 1.1.1

openssl 1.0.1e

Please provide any additional information below.

I would like to ask how could i fix this problem? Why Ihave this problem?

Original issue reported on code.google.com by szhengcvpr on 25 Aug 2013 at 1:34

GoogleCodeExporter commented 9 years ago
Can you please add your operating system and version to your issue report?

It looks like your platform uses some gcc like toolchain, but there are more 
than a few separate setups that fall in that category.

Original comment by b...@qqmail.nl on 25 Aug 2013 at 10:38