PHP 4.0 Bug #6580 Updated: Configure screws up library names...

From: Date: Thu, 07 Sep 2000 23:51:53 +0000
Subject: PHP 4.0 Bug #6580 Updated: Configure screws up library names...
Groups: php.dev 
Request: Send a blank email to php-dev+get-32627@lists.php.net to get a copy of this message
ID: 6580 Updated by: sniper Reported By: michael.jackson@lightyearcom.com Status: Feedback Bug Type: *Install and Config Assigned To: Comments: Please verify if this is still happening with latest CVS or snapshot from http://snaps.php.net/ --Jani Previous Comments: --------------------------------------------------------------------------- [2000-09-06 11:14:01] michael.jackson@lightyearcom.com Here is the configure line I am using... ./configure --without-mysql --with-ldap=/usr/local/ldap --with-apxs=/usr/local/apache/bin/apxs --enable-calendar --enable-ftp --enable-track-vars --with-gd=/usr/local --with-jpeg-dir=/usr/local This works PERFECT in php 4.0.1pl2. In php4.0.2, it will do "strange stuff" - Specifically, on a configure, it will give you the "Attention - Something is likely to be messed up here, check debug.log" error - If you check debug.logm on the "gcc -o conftest" line (14th line down_ it spits out "-l -ljpeg" when it's trying to link. (Note the extra -l) Then it blows up with "ld: FATAL: library -l-ljpeg not found" and on a "make," it tries to link with the argument "-l -lpng" (An extra -l get's thrown in again some how) and it blows up on the final link. I am using gcc 2.95.2 under solaris 2.6, with gd 1.8.3, jpeg6b, IPlanet LDAP SDK 4.1, libpng1.0.8, and apache 1.3.12... Hope this is verbose enough! --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6580

« previous php.dev (#32627) next »