Uploaded image for project: 'serf'
  1. serf
  2. SERF-128

cannot configure serf with openssl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            serf-importer Serf Importer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: