Bug #7821 Updated: Unresolved symbol with GD

From: Date: Sun, 20 May 2001 23:58:11 +0000
Subject: Bug #7821 Updated: Unresolved symbol with GD
Groups: php.dev 
Request: Send a blank email to php-dev+get-55980@lists.php.net to get a copy of this message
ID: 7821 Updated by: sniper Reported By: mad@dactar.ch Old-Status: Open Status: Closed Bug Type: *Configuration Issues Operating system: PHP Version: 4.0.5 Assigned To: Comments: Solved -> closed. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-05-20 18:47:17] mad@dactar.ch Good question :) I've putted this library from HP-UX system in my lib directory and now it's works :) I've just warning message...I will update this event tomorrow when I'll be at work with all details. Do you have an idea for the bug #10884 ? Thanks :) JC --------------------------------------------------------------------------- [2001-05-20 18:37:28] sniper@php.net Is there libX11.so or libX11.a in /PKl01h01/soft/web/lib ?? --Jani --------------------------------------------------------------------------- [2001-05-16 10:28:27] mad@dactar.ch Okay, with the build php4-200105160045, I've this config message error : ... 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 ./configure[6]: no: not found. checking for the location of libXpm... yes checking for XpmFreeXpmImage in -lXpm... no configure: error: libXpm.(a|so) or libX11.(a|so) not found! In config.log : ... configure:18240: checking for the location of libXpm configure:18288: checking for XpmFreeXpmImage in -lXpm configure:18309: gcc -o conftest -O2 -DHPUX10 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -L/PKl01h01/soft/web/lib -L/PKl01h01/soft/web/lib -L/PKl01h01/so ft/web/src/php/lib -L/PKl01h01/soft/web/src/php/lib conftest.c -lXpm -L/PKl01h01/soft/web/lib -lX11 -lpng -lz -ljpeg -lcrypt -lm 1>&5 /usr/ccs/bin/ld: Can't find library for -lX11 collect2: ld returned 1 exit status configure: failed program was: #line 18298 "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; } Any idea ? Thx :) JC --------------------------------------------------------------------------- [2001-05-16 01:06:00] sniper@php.net What does it say in config.log about this ? In the end of it. And could you please try with latest snapshot from http://snaps.php.net/ as the configure script for GD has gone through a face lift. --Jani --------------------------------------------------------------------------- [2001-05-15 15:02:31] mad@dactar.ch Hellow, Here's the feedback : When I add --with-xpm-dir=..., the configure program failed : ... checking for libjpeg (needed by gd-1.8+)... yes checking for jpeg_read_header in -ljpeg... yes checking for libXpm (needed by gd-1.8+)... yes checking for XpmFreeXpmImage in -lXpm... no no checking whether to include GD support... yes (static) checking for gdImageString16 in -lgd... no checking for gdImagePaletteCopy in -lgd... no checking for gdImageColorClosestHWB in -lgd... no checking for compress in -lz... no checking for png_info_init in -lpng... no checking for gdImageColorResolve in -lgd... no checking for gdImageCreateFromPng in -lgd... no checking for gdImageCreateFromGif in -lgd... no checking for gdImageWBMP in -lgd... no checking for gdImageCreateFromJpeg in -lgd... no checking for gdImageCreateFromXpm in -lgd... no checking whether to include FreeType 1.x support... yes checking for T1lib support... no checking whether to include GNU gettext support... no checking for gmp support... no checking for Hyperwave support... no checking for ICAP support... no checking for iconv support... no checking for Kerberos support in IMAP... no checking for SSL support in IMAP... no checking for IMAP support... no checking for Informix support... no checking for Ingres II support... no checking for InterBase support... no checking for ircg support... no checking for Java support... no checking whether to include LDAP support... no checking for MCAL support... no checking for mcrypt support... no checking for mhash support... no checking whether to include ming support... no checking for mnoGoSearch support... no checking for mSQL support... no checking for Muscat support... no checking for MySQL support... no checking for Oracle-OCI8 support... no checking for Adabas support... no checking for SAP DB support... no checking for Solid support... no checking for IBM DB2 support... no checking for Empress support... no checking for Velocis support... no checking for a custom ODBC support... no checking for iODBC support... no checking for Easysoft ODBC-ODBC Bridge support... no checking for unixODBC support... no checking for OpenLink ODBC support... no checking for DBMaker support... no checking for Oracle-ORACLE support... no checking for Ovrimos SQL Server support... no checking whether to include PCRE support... yes checking for memmove... (cached) yes checking whether to include PDFlib support... yes checking for libz needed by pdflib 3.x... already zlib support checking for jpeg_read_header in -ljpeg... (cached) yes checking for png_create_info_struct in -lpng... no no checking for TIFFOpen in -ltiff... no no checking for PDF_show_boxed in -lpdf... no configure: error: pdflib extension requires pdflib 3.x. I'll become crazy :p An idea ? Thx :) --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7821&edit=2

« previous php.dev (#55980) next »