Re: Bug #10331 Updated: configure: test gd functions lacks inclusion of -lpng, -lz

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Bug #10331 Updated: configure: test gd functions lacks inclusion of -lpng, -lz
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-51750@lists.php.net to get a copy of this message
'Bug Database wrote:' > > BTW: Any hints how to trace that problem: > > # /etc/init.d/apachectl-1.3.19 start > Syntax error on line 233 of /opt/www/conf/httpd.conf: > API module structure `php4_module' in file /opt/www/libexec/libphp4.so is garbled - > perhaps this is not an Apache module DSO? > /etc/init.d/apachectl start: httpd could not be started > > The garbled module problem is technically a different bug; I would suggest ensuring that gd > links in correctly (or building without) and making sure that you do "./cvsclean; > ./buildconf" before you configure. Ok - found it by myself: I used the apxs from Apache/1.3.12 but tried to use libphp4.so with Apache/1.3.19 ... :( Using the right apxs (i.e. from 1.3.19) apache started but SIGSEGVs. When I went a little bit deeper, I end up in a glibc 2.1.2 bug: apache is not linked against libpthread, but libphp4.so is ... Since I could NOT find a hint for resolving that problem on the php site/faq, I recommend to add an entry to the FAQ, which recommends to set LDFLAGS=-lpthread, before configuring apache ... Than it works :)) Regards, jens. -- +---[ Jens Elkner ]-------------------------[ USG IFF FhG Magdeburg ] | Certified Master Unix Systems Administrator elkner@usg.iff.fhg.de | | Sandtorstr. 22 http://www2.iff.fhg.de | | 39106 Magdeburg GERMANY http://www.ims-gmbh.server.de | +-------------------------------------------------------------------+

« previous php.dev (#51750) next »