From: vktechnology at uk2 dot net Operating system: fedora PHP version: 5.1.4 PHP Bug Type: Compile Failure Bug description: relocation R_X86_64_32... recompile with -fPIC...
Description: ------------ Install PHP,,has eror after type make Reproduce code: --------------- ./configure --prefix=/usr/local/php-5.1.4 --with-apxs2=/usr/local/apache2/bin/apxs --enable-ftp --with-mysql-dir=/usr/local/mysql-standard-5.0.21-linux-i686 --with-png-dir=/usr/local/libpng- 1.2.8-config --with-zlib-dir=/usr/local/zlib-1.2.2 --with-gd --disable-libxml --disable-dom -- disable-simplexml --disable-xml --disable-pear --disable-xmlreader --disable-xmlwriter Actual result: -------------- ********** after type make have this error ************* /usr/bin/ld: /usr/local/lib/libz.a(compress.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/libz.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 -- Edit bug report at http://bugs.php.net/?id=37427&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37427&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37427&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37427&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37427&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37427&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37427&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37427&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37427&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37427&r=support Expected behavior: http://bugs.php.net/fix.php?id=37427&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37427&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37427&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37427&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37427&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37427&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37427&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37427&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37427&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37427&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37427&r=mysqlcfg
