Ad Widget

Collapse

PHP compilation issue during make

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aprakash
    Junior Member
    • Mar 2017
    • 21

    #1

    PHP compilation issue during make

    ./configure --with-apxs2=/tools/appsw/oracle/apache/bin/apxs --enable-bcmath --enable-mbstring --enable-sockets --with-mysql --prefix=/tools/appsw/oracle/apache/php --with-config-file-path=/tools/appsw/oracle/apache/php --with-oci8=/tools/utilsw/oracle/11gclient --with-gd --with-vpx-dir --with-jpeg-dir --with-png-dir --with-freetype-dir

    Step2: make

    I am getting below error while running make

    /usr/bin/ld: /usr/local/lib/libvpx.a(vpx_codec.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libvpx.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make: *** [libphp5.la] Error 1

    how to fix this issue ?
Working...