#32007 [Opn->Bgs]: problem with GD + freetype2
| From: | sniper@php.net | Date: | Tue, 22 Feb 2005 07:55:14 +0000 |
| Subject: | #32007 [Opn->Bgs]: problem with GD + freetype2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74405@lists.php.net to get a copy of this message | ||
ID: 32007
Updated by: sniper@php.net
Reported By: bernard dot prevosto at ifremer dot fr
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: solaris 5.8
PHP Version: 4CVS-2005-02-17
New Comment:
You will find couple of solutions by using this search:
http://www.google.com/search?q=%22libgcc_s.so.1%3A+open+failed%22+solaris
This is NOT any bug in PHP, just a broken installation of gcc on your
system.
Previous Comments:
------------------------------------------------------------------------
[2005-02-22 08:44:25] bernard dot prevosto at ifremer dot fr
The debug.log file:
------------------
CONFIGURE: './configure' '--with-gd'
'--with-zlib-dir=/home/services/bibli/zlib'
'--with-jpeg-dir=/home/services/bibli/jpeglib'
'--with-png-dir=/home/services/bibli/pnglib'
'--with-tiff-dir=/home/services/bibli/tifflib'
'--with-freetype-dir=/home/services/bibli/freetype2'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/home/services/bibli/zlib/include
-I/home/services/bibli/jpeglib/include
-I/home/services/bibli/pnglib/include
-I/home/services/bibli/freetype2/include
-I/home/services/bibli/freetype2/include/freetype2
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
-L/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
-R/home/services/bibli/zlib/lib -L/home/services/bibli/zlib/lib
-R/home/services/bibli/jpeglib/lib -L/home/services/bibli/jpeglib/lib
-R/home/services/bibli/pnglib/lib -L/home/services/bibli/pnglib/lib
-R/home/services/bibli/freetype2/lib
-L/home/services/bibli/freetype2/lib
LIBS: -lfreetype -lpng -lz -ljpeg -lz -lresolv -lm -ldl -lnsl
-lsocket -lgcc
DLIBS:
SAPI: cgi
PHP_RPATHS: /usr/ucblib
/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
/home/services/bibli/zlib/lib /home/services/bibli/jpeglib/lib
/home/services/bibli/pnglib/lib /home/services/bibli/freetype2/lib
uname -a: SunOS iletudy 5.8 Generic_108528-29 sun4u sparc
SUNW,Sun-Fire-880
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib
-L/usr/ucblib
-R/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
-L/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
-R/home/services/bibli/zlib/lib -L/home/services/bibli/zlib/lib
-R/home/services/bibli/jpeglib/lib -L/home/services/bibli/jpeglib/lib
-R/home/services/bibli/pnglib/lib -L/home/services/bibli/pnglib/lib
-R/home/services/bibli/freetype2/lib
-L/home/services/bibli/freetype2/lib conftest.c -lfreetype -lpng -lz
-ljpeg -lz -lresolv -lm -ldl -lnsl -lsocket -lgcc 1>&5
ld.so.1: ./conftest: fatal: libgcc_s.so.1: open failed: No such file or
directory
------------------------------------------------------------------------
[2005-02-21 19:43:31] sniper@php.net
Well, what was in the debug.log file...?
------------------------------------------------------------------------
[2005-02-17 14:19:12] bernard dot prevosto at ifremer dot fr
Sorry
without IMAP i have:
checking for extended DES crypt... no
checking for MD5 crypt... no
Killed
checking for Blowfish crypt... no
checking whether flush should be called explicitly after a buffered
io... yes
without freetype2 or GD i have not tke ligne KILLED
at the end of configure in this case i have:
+--------------------------------------------------------------------+
| *** ATTENTION *** |
| |
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
| |
| If you are unable to fix this, send the file debug.log to the |
| php-install@lists.php.net mailing list and include appropiate |
| information about your setup. |
i have not without freetype2 or GD
but the make work fine
------------------------------------------------------------------------
[2005-02-17 13:46:52] sniper@php.net
Does this work:
# rm config.cache
# ./configure \
--with-gd \
--with-zlib-dir=/home/services/bibli/zlib \
--with-jpeg-dir=/home/services/bibli/jpeglib \
--with-png-dir=/home/services/bibli/pnglib \
--with-tiff-dir=/home/services/bibli/tifflib \
--with-freetype-dir=/home/services/bibli/freetype2
# make clean && make
------------------------------------------------------------------------
[2005-02-17 09:32:54] bernard dot prevosto at ifremer dot fr
Description:
------------
When I configure PHP with GD + freetype2
configure stop with an error upon IMAP
with only GD, it's good
with only freetype2, il's good
Reproduce code:
---------------
./configure \
--with-apache=/home2/beniguet/tmsiric/bpre/anonymous/apache/apache_1.3.33
\
--with-gd \
--with-zlib-dir=/home/services/bibli/zlib \
--with-jpeg-dir=/home/services/bibli/jpeglib \
--with-png-dir=/home/services/bibli/pnglib \
--with-tiff-dir=/home/services/bibli/tifflib \
--with-freetype-dir=/home/services/bibli/freetype2 \
--with-imap=/home1/iletudy/www/httpd/imap \
--without-pear \
--disable-cli \
--with-config-file-path=/home1/iletudy/www/httpd/php
Expected result:
----------------
configure work good without freetype2 or gd
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... yes
Actual result:
--------------
result with freetyp2 + gd
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32007&edit=1