Re: PHP 4.0 Bug #7259: Unable to find required gettext library

From: Date: Mon, 16 Oct 2000 21:55:39 +0000
Subject: Re: PHP 4.0 Bug #7259: Unable to find required gettext library
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-35198@lists.php.net to get a copy of this message
On 16 Oct 2000 jeffrey.hundstad@mnsu.edu wrote: > From: jeffrey.hundstad@mnsu.edu > Operating system: Linux/debian > PHP version: 4.0.3pl1 > PHP Bug Type: *Configuration Issues > Bug description: Unable to find required gettext library > > Problem: > If you have the debian package libpng2 installed without the libpng2-dev libraries... and use > --with-gettext, configure will die with: > > Unable to find required gettext library > > The real error is: > > configure:16776: gcc -o conftest -g -O2 -L/usr/lib conftest.c -lc -lpng -lz -lgd -lresolv > -lm -ldl -lcrypt -lnsl -lresolv 1>&5 > /usr/bin/ld: cannot find -lpng > collect2: ld returned 1 exit status > > solution: remove libpng2 OR add libpng2-dev > solution^2: make configure smarter ;-) > > -- jeffrey hundstad > > > It seems that the gettext test is far too sensitive to the absence of other libraries (see bug #7193). I believe that it needs to be reworked somewhat. -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.dev (#35198) next »