php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36902 oci8 compile error
Submitted: 2006-03-29 03:06 UTC Modified: 2006-03-29 09:49 UTC
From: hellower at gmail dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 5.1.2 OS: AIX 52. 64 BIT
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: hellower at gmail dot com
New email:
PHP Version: OS:

 

 [2006-03-29 03:06 UTC] hellower at gmail dot com
Description:
------------
[OS]
AIX 5.2 php 64 bit compile

[DB]
$ORACLE_HOME=/orateng
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Mar 29 10:05:49 2006
 
Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
 
 
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
 
SQL> 

.............................
 -lclntsh -ldb2 -lmysqlclient -lz -lcrypt -lnsl_r -lm -ldl -lm -lodm -lbsd_r -lld -lperfstat -lclntsh -ldb2 -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm  -o sapi/cli/php
ld: 0711-317 ERROR: Undefined symbol: .OCIPing
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: *** [sapi/cli/php] Error 1
 

Reproduce code:
---------------
./configure  \
--with-apxs=/usr/local/apache_1.3.34/bin/apxs  \
--prefix=/usr/local/php5  \
--with-oci8=/orateng  \
--with-pdo-oci=/orateng  \
--enable-cli  \
--enable-pdo  \
--with-pdo-sqlite  \
--with-sqlite  \
--enable-track-vars  \
--enable-ftp  \
--enable-track-vars  \
--disable-debug  \
--disable-inline  \
--enable-sigchild  \
--with-mysql=/usr/local/mysql5  \
--with-pdo-mysql=/usr/local/mysql5  \
--with-zlib-dir=/opt/freeware/64/lib  \
--with-pear  \
--with-libxml=/usr/local/libxml2

Expected result:
----------------
.

Actual result:
--------------
.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-29 03:14 UTC] hellower at gmail dot com
./configure ...
make
====> 
 -lclntsh -ldb2 -lmysqlclient -lz -lcrypt -lnsl_r -lm -ldl -lm -lodm
-lbsd_r -lld -lperfstat -lclntsh -ldb2 -lxml2 -lz -liconv -lm -lxml2 -lz
-liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm  -o
sapi/cli/php
ld: 0711-317 ERROR: Undefined symbol: .OCIPing
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: *** [sapi/cli/php] Error 1
 [2006-03-29 09:48 UTC] tony2001@php.net
OCI8 in CVS doesn't use OCIPing() anymore (for another reason).
So it's fixed in CVS.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 22:05:44 2022 UTC