php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12916 configure error when compiling with oci8
Submitted: 2001-08-23 01:45 UTC Modified: 2001-08-23 20:29 UTC
From: graeme at i7 dot com dot au Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.6 OS: Solaris 2.6
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: graeme at i7 dot com dot au
New email:
PHP Version: OS:

 

 [2001-08-23 01:45 UTC] graeme at i7 dot com dot au
Solaris 2.6, Oracle 8.1.7, Apache 1.3.20

Compiling with gcc and ld as listed
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
gcc version 2.95.3 20010315 (release)
# ld -V
ld: Software Generation Utilities - Solaris-ELF (4.0)


./configure --with-apxs=/usr/local/apache/bin/apxs --without-mysql --enable-magic-quotes --enable-track-vars --enable-memory-limit --with-expat=/usr/local --with-sablot=/usr/local --with-oci8=/oracle/product/817

Also set ORACLE_HOME and ORACLE_BASE

./configure script dies with the following error (with apologies for wrapping)

checking for iconv_open in -lc... no
configure: error: iconv not found

config.log reveals the following information
configure:45395: checking for iconv_open in -lc
configure:45414: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=260 -DUSE_EXPAT -DSUPPORT_UTF8  -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -R/oracle/product/817/lib -L/oracle/product/817/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lc  -lexpat -lsablot -lsched -ldl -lgen -lsocket -lnsl -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket -lgcc -lclntsh 1>&5
Undefined                       first referenced
 symbol                             in file
_delete                             /oracle/product/817/lib/libgen.so.1
_insert                             /oracle/product/817/lib/libgen.so.1
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 45403 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char iconv_open();

int main() {
iconv_open()
; return 0; }

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-23 20:29 UTC] graeme@php.net
Resolved. Actually related to Sablot/Expat. Still working through why this occurred.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Sep 17 22:01:28 2024 UTC