[
https://issues.apache.org/jira/browse/SERF-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bert Huijben closed SERF-128.
-----------------------------
Resolution: Incomplete
Unable to reproduce. The entire buildsystem was replaced by scons since this
issue was added.
> cannot configure serf with openssl
> ----------------------------------
>
> Key: SERF-128
> URL: https://issues.apache.org/jira/browse/SERF-128
> Project: serf
> Issue Type: Bug
> Reporter: Serf Importer
> Labels: Priority-Medium, Type-Defect
>
> *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 by *szhengcvpr*
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)