php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6580 Configure screws up library names...
Submitted: 2000-09-06 11:14 UTC Modified: 2000-09-29 08:53 UTC
From: michael dot jackson at lightyearcom dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.2 OS: Solaris 2.6
Private report: No CVE-ID: None
 [2000-09-06 11:14 UTC] michael dot jackson at lightyearcom dot 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!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-07 19:51 UTC] sniper@php.net
Please verify if this is still happening with latest CVS or
snapshot from http://snaps.php.net/

--Jani
 [2000-09-13 07:06 UTC] sniper@php.net
There is a bug in ext/db/config.m4 which causes this.
Fix is under construction.

--Jani
 [2000-09-29 08:53 UTC] sniper@php.net
Fixed in CVS. Thank you for providing test site!

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 20:00:02 2026 UTC