#44841 [NEW]: --disable rpath breaks GD library

From: Date: Sat, 26 Apr 2008 16:47:05 +0000
Subject: #44841 [NEW]: --disable rpath breaks GD library
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-124533@lists.php.net to get a copy of this message
From: alex at alexjudd dot com Operating system: Centos 4 PHP version: 5.2.5 PHP Bug Type: Compile Failure Bug description: --disable rpath breaks GD library Description: ------------ When compiling with both --disable rpath and --with gd --with t1lib the compilation fails Expected result: ---------------- Successful compilation Actual result: -------------- Fails with the following error <SNIP> hecking for GD support... yes checking for the location of libjpeg... yes checking for the location of libpng... yes checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... /usr checking for T1lib support... yes checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... (cached) yes checking for floorf... (cached) yes checking for jpeg_read_header in -ljpeg... (cached) yes checking for png_write_image in -lpng... (cached) yes If configure fails try --with-xpm-dir=<DIR> checking for FT_New_Face in -lfreetype... (cached) yes checking for T1_StrError in -lt1... (cached) yes configure: error: GD build test failed. Please check the config.log for details. and config.log says configure:37012: checking for T1_StrError in -lt1 configure:43279: gcc -o conftest -g -O2 -L/usr/kerberos/lib -L/usr/local/lib conftest.c -lt1 -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5 configure: failed program was: #line 43268 "configure" #include "confdefs.h" char foobar () {} char foobar(); int main() { foobar(); return 0; } Removing --with rpath fixes the compilation -- Edit bug report at http://bugs.php.net/?id=44841&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44841&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44841&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44841&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44841&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44841&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44841&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44841&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44841&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44841&r=support Expected behavior: http://bugs.php.net/fix.php?id=44841&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44841&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44841&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44841&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44841&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44841&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44841&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44841&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44841&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44841&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44841&r=mysqlcfg

« previous php.bugs (#124533) next »