Doesn't work
| From: | Roberto Leserri | Date: | Mon, 12 Feb 2007 10:05:03 +0000 |
| Subject: | Doesn't work | ||
| Groups: | php.gd.devel | ||
| Request: | Send a blank email to php-gd-devel+get-93@lists.php.net to get a copy of this message | ||
Dear all
I'm writing to you because I've got some problems with libgd on Solaris.
Apache 1.3.x with PHP4 are already installed. Know I tried to add libgd as exention.
I did the following:
1. installed the missing pkg's
1 SMCfontc fontconfig
(sparc) 2.2.98
2 SMCftype freetype
(sparc) 2.2.1
3 SMClibpng libpng
(sparc) 1.2.16
4 SMCxpm xpm
(sparc) 3.4k
2. configure libgd
# ./configure
#
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -L/usr/openwin/
lib -L/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/lib
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking whether iconv.h defines iconv_t... yes checking for sin... no checking for sin in -lm... yes checking for deflate in -lz... yes checking for libpng12-config... /usr/local/bin/libpng12-config checking for libpng-config... /usr/local/bin/libpng-config checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_create_read_struct in -lpng12... yes checking for freetype-config... /usr/local/bin/freetype-config checking for FT_Init_FreeType in -lfreetype... yes checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking for FcInit in -lfontconfig... no checking for jpeg_set_defaults in -ljpeg... yes checking for XpmReadFileToXpmImage in -lXpm... yes checking whether pthreads work with -pthreads... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_REENTRANT ** Configuration summary for gd 2.0.34:
Support for PNG library: yes Support for JPEG library: yesSupport for Freetype 2.x library: yes Support for Fontconfig library: no
Support for Xpm library: yes Support for pthreads: yesconfigure: creating ./config.status config.status: creating Makefile config.status: creating config/Makefile config.status: creating config/gdlib-config config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands # 3. run make and make install successfull 4. edited php.ini ... extension=libgd.so extension_dir=./ ... 5. restart apache 6. created a file with phpinfo() 7. no information about GD in the phpinfo page available Any idea what I'm eventually doing wrong? Please let me know as soon as possible. Best regards, Roberto Leserri