Edit report at https://bugs.php.net/bug.php?id=60745&edit=1
ID: 60745
User updated by: jose dot nobile at gmail dot com
Reported by: jose dot nobile at gmail dot com
Summary: Tidy compile error
Status: Open
Type: Bug
-Package: Tidy
+Package: Compile Failure
Operating System: Centos 5.6 x86_64
PHP Version: 5.3.9
Block user comment: N
Private report: N
New Comment:
Is a Compile Failure related to Tidy Extension.
Previous Comments:
------------------------------------------------------------------------
[2012-01-13 14:16:49] jose dot nobile at gmail dot com
Description:
------------
I tried to compile PHP 5.3.9 and it show a compile error (make) related to Tidy.
Test script:
---------------
Over PHP 5.3.9 directory run the next configure (in PHP 5.3.8 this work fine)
'./configure' '--bindir=/usr/bin' '--build=x86_64-redhat-linux-gnu'
'--cache-
file=../config.cache' '--datadir=/usr/share' '--disable-rpath'
'--enable-bcmath'
'--enable-calendar' '--enable-dba=shared' '--enable-dom'
'--enable-exif' '--
enable-ftp' '--enable-gd-jis-conv' '--enable-gd-native-ttf'
'--enable-intl' '--
enable-magic-quotes' '--enable-maintainer-zts' '--enable-mbregex'
'--enable-
mbstring' '--enable-pcntl' '--enable-pdo' '--enable-shmop'
'--enable-soap' '--
enable-soap=shared' '--enable-sockets' '--enable-sqlite-utf8'
'--enable-static'
'--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm'
'--enable-ucd-snmp-
hack' '--enable-wddx' '--enable-zip' '--exec-prefix=/usr'
'--host=x86_64-redhat-
linux-gnu' '--includedir=/usr/include' '--infodir=/usr/share/info' '--
libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--
mandir=/usr/share/man' '--prefix=/usr' '--program-prefix='
'--sbindir=/usr/sbin'
'--sharedstatedir=/usr/com' '--sysconfdir=/etc'
'--target=x86_64-redhat-linux-
gnu' '--with-apxs2=/usr/sbin/apxs' '--with-bz2'
'--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d' '--with-curl'
'--with-db4=/usr' '--
with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-gd'
'--with-gettext'
'--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
'--with-kerberos' '--with-
layout=GNU' '--with-ldap' '--with-ldap-sasl'
'--with-libdir=lib64' '--with-
libmbfl' '--with-libxml-dir=/usr' '--with-mcrypt' '--with-mhash'
'--with-mysql-
sock=/var/lib/mysql/mysql.sock' '--with-mysql=mysqlnd'
'--with-mysqli=mysqlnd'
'--enable-mysqlnd' '--with-onig' '--with-openssl'
'--with-pcre-regex=/usr' '--
with-pdo-mysql=mysqlnd' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-
pgsql' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr'
'--with-
pgsql' '--with-pic' '--with-png-dir=/usr' '--with-pspell'
'--with-recode' '--
with-snmp' '--with-unixODBC=shared,/usr' '--with-t1lib'
'--with-tidy' '--with-
xmlrpc' '--with-xsl' '--with-xsl=shared,/usr' '--with-zlib'
'--without-gdbm' '--
enable-zend-multibyte'
Expected result:
----------------
Not errors, PHP is compiled fine.
Actual result:
--------------
/usr/bin/ld: /usr/local/lib/libtidy.a(alloc.o): relocation R_X86_64_32 against `a
local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libtidy.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60745&edit=1