From: [EMAIL PROTECTED] Operating system: SuSE Linux 7.1 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Failure to find libraries I cannot get php to successfully complete the configure script when I attempt to add GD support. =========================================================== My configure line is: =========================================================== ./configure --with-apache=../apache_1.3.20 --with-mysql=/usr/local/mysql --with-expat --enable-magic-quotes --enable-memory-limit --with-gd=/usr/lib --with-zlib-dir=/usr/lib/include --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib=/usr/lib --x-libraries=/usr/X11R6/lib --with-xpm-dir=/usr/X11R6/lib =========================================================== The relevant output from configure is: =========================================================== Configuring extensions checking if the location of ZLIB install directory is defined... yes checking whether to include ZLIB support... yes checking for gzgets in -lz... yes checking for fopencookie... yes checking for ASPELL support... no checking for bc style precision math functions... no checking for BZip2 support... no checking whether to enable calendar conversion support... no checking CCVS Support... no checking whether to include cpdflib support... no checking whether to include crack support... no checking whether to enable ctype support... no checking for CURL support... no checking for CyberCash support... no checking for cybermut support... no checking whether to include old xDBM support... no checking whether to enable DBA... no checking for GDBM support... no checking for NDBM support... no checking for Berkeley DB2 support... no checking for Berkeley DB3 support... no checking for DBM support... no checking for CDB support... no checking whether to enable DBA interface... no checking whether to enable the bundled dbase library... no checking whether to enable dbx support... no checking for DOM support... no checking whether to enable exif support... no checking for FrontBase SQL92 (fbsql) support... no checking for fdftk support... no checking whether to enable the bundled filePro support... no checking whether to add fribidi support... no checking whether to enable FTP support... no checking whether to include GD support... yes checking whether to enable truetype string function in gd... no checking for the location of libjpeg... yes checking for jpeg_read_header in -ljpeg... yes checking for the location of libpng... yes checking for png_info_init in -lpng... yes checking for the location of libXpm... yes checking for XpmFreeXpmImage in -lXpm... no configure: error: libXpm.(a|so) or libX11.(a|so) not found! =========================================================== The relevant section of config.log is: =========================================================== configure:17491: checking whether to include GD support configure:17678: checking whether to enable truetype string function in gd configure:17731: checking for the location of libjpeg configure:17780: checking for jpeg_read_header in -ljpeg configure:17801: gcc -o conftest -g -O2 -Wl,-rpath,/usr/lib/lib -L/usr/lib/lib conftest.c -ljpeg -L/usr/lib/lib -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5 configure:17927: checking for the location of libpng configure:17980: checking for png_info_init in -lpng configure:18001: gcc -o conftest -g -O2 -Wl,-rpath,/usr/lib/lib -L/usr/lib/lib conftest.c -lpng -L/usr/lib/lib -lz -L/usr/lib/lib -ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5 configure:18221: checking for the location of libXpm configure:18269: checking for XpmFreeXpmImage in -lXpm configure:18290: gcc -o conftest -g -O2 -Wl,-rpath,/usr/lib/lib -L/usr/lib/lib conftest.c -lXpm -L/usr/X11R6/lib/lib -lX11 -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5 /usr/i486-suse-linux/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status configure: failed program was: #line 18279 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char XpmFreeXpmImage(); int main() { XpmFreeXpmImage() ; return 0; } =========================================================== As near as I can tell, all required libraries are where thy should be... -- Edit bug report at: http://bugs.php.net/?id=12153&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]