php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4637 Configure writes illegal -l options to makefile
Submitted: 2000-05-27 10:38 UTC Modified: 2000-08-24 07:42 UTC
From: juhana dot enqvist at comptel dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.0 Release OS: HP-UX 10.20
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: juhana dot enqvist at comptel dot com
New email:
PHP Version: OS:

 

 [2000-05-27 10:38 UTC] juhana dot enqvist at comptel dot com
Contents of the 'debug.log':
CONFIGURE:   './configure' '--with-oci8' '--with-apxs=/projects/finnet/common/ap
ache-1.3.12-UX10.20/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/projects/apache-1.3.12-UX10.20/include  -I$(top_builddir)/Zend -I$(top_srcdir) -I/usr1/build/php-4.0.0/ext/mysql/libmysql -I/usr1/oracle/8.0.5/rdbms/demo -I/usr1/oracle/8.0.5/network/public -I/usr1/oracle/8.0.5/plsql/public
LDFLAGS:     -L/usr1/oracle/8.0.5/lib -L/usr1/oracle/8.0.5/lib
LIBS:       -lclntsh -lpsa -lcore4 -lnlsrtl3 -l/usr/lib/libdld.sl -l/usr/lib/libcma.sl -lm -lcl -lm -lcrypt 
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr1/oracle/8.0.5/lib
uname -a:   HP-UX hukka B.10.20 A 9000/778 2009325486 two-user license

gcc -o conftest -g -O2   -L/usr1/oracle/8.0.5/lib -L/usr1/oracle/8.0.5/lib conftest.c -lclntsh -lpsa -lcore4 -lnlsrtl3 -l/usr/lib/libdld.sl -l/usr/lib/libcma.sl
 -lm -lcl -lm -lcrypt  1>&5
collect2: ld returned 1 exit status
/bin/ld: Can't find library for -l/usr/lib/libdld.sl

--
I modified the -l/usr/lib/libdld.sl to -ldld and -l/usr/lib/libcma.sl to -lcma which seemed to correct this problem.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-17 03:12 UTC] sniper@php.net
Have you tried more recent version of PHP4 if the problem still persist?

--Jani
 [2000-08-24 07:42 UTC] sniper@php.net
User reported compile problem fixed in 4.0.1pl2

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 13:00:01 2026 UTC