php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #931 Test compile fails with Oracle 7.1 on AIX 3.2
Submitted: 1998-11-19 18:40 UTC Modified: 2000-05-15 17:16 UTC
From: tjoneslo at softstart dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.5 OS: AIX 3.2.5
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: tjoneslo at softstart dot com
New email:
PHP Version: OS:

 

 [1998-11-19 18:40 UTC] tjoneslo at softstart dot com
./configure --with-oracle
make 
make test

##
Using gcc 2.7.2, Oracle 7.1.4, AIX 3.2.5

Problem is on line 4433 of configure:

    if test "`uname -s 2>/dev/null`" = "AIX"; then
      ORACLE_STLIBS="$ORACLE_STLIBS -bI:$ORACLE_HOME/lib/mili.exp"
    fi

the -b option has meaning to gcc, and not what you intended. It should read:

    if test "`uname -s 2>/dev/null`" = "AIX"; then
      ORACLE_STLIBS="$ORACLE_STLIBS -Xlinker -bI:$ORACLE_HOME/lib/mili.exp"
    fi

Hand editing the "-Xlinker" into the LIBS in Makefile also fixes the problem
Hand editing the "-Xlinker" into the LIBS1 in libphp3.module fixes the problem for apache builds

Patches

Pull Requests

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 11:01:34 2025 UTC