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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 17 08:03:36 2021 UTC