#22324 [Com]: Configure failure
| From: | gmila at lycos dot com | Date: | Fri, 18 Apr 2003 13:54:46 +0000 |
| Subject: | #22324 [Com]: Configure failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37846@lists.php.net to get a copy of this message | ||
ID: 22324
Comment by: gmila at lycos dot com
Reported By: j dot lammerts at chello dot nl
Status: Closed
Bug Type: OCI8 related
Operating System: AIX 4.3.3
PHP Version: Latest CVS (24)
New Comment:
I had the same problem.
The solution seems to be to create a symbolic link "libocijdbc8.a" in
$ORACLE_HOME/lib that points to libocijdbc8.so.
Previous Comments:
------------------------------------------------------------------------
[2003-02-25 09:14:28] matli at free dot fr
Same here for me.
I've tried t oput libocijdbc8.so in different place without any
success.
here is my debug.log:
LIBS: -lcrypt -lm -lcrypt -ldl -lodm -lm -lbsd_r -lld -lclntsh
-locijdbc8 -ldl -lodm -lm -lbsd_r -lld -lclntshDLIBS:
SAPI: apache
PHP_RPATHS: /ora01/app/oracle/product/8.1.7/lib
uname -a: AIX bicsx30 3 4 000674514C00
cc -o conftest -g -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DMOD_SSL=208112 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
-R/ora01/app/oracle/product/8.1.7/lib
-L/ora01/app/oracle/product/8.1.7/lib conftest.c -lcrypt -lm -lcrypt
-ldl -lodm -lm -lbsd_r -lld -lclntsh -locijdbc8 -ldl -lodm -lm -lbsd_r
-lld -lclntsh 1>&5
ld: 0706-027 The -R /ora01/app/oracle/product/8.1.7/lib flag is
ignored.
ld: 0706-006 Cannot find or open library file: -l ocijdbc8
ld:open(): No such file or directory
------------------------------------------------------------------------
[2003-02-24 22:37:17] sniper@php.net
On the other hand, it's better not even try adding that libocijdbc8.so
by our configure. Latest CVS snapshot won't have that anymore.
------------------------------------------------------------------------
[2003-02-24 05:08:22] sniper@php.net
And I still think it's just misconfigured oracle, that library should
not exist in there. Just remove it.
------------------------------------------------------------------------
[2003-02-24 05:04:59] j dot lammerts at chello dot nl
When trying to configure the latest CVS I ran into the same problem
again that the linker could not find ocijdbc8:
ld: 0706-006 Cannot find or open library file: -l ocijdbc8
ld:open(): No such file or directory
collect2: ld returned 255 exit status
Still had the 21 feb CVS. I can configure this one without any
problems, even without setting the variables ORACLE_HOME, LIBPATH and
LD_LIBRARY_PATH !
I'm completely at a loss now,
HEEELP !!
Thank you
------------------------------------------------------------------------
[2003-02-21 09:12:45] sniper@php.net
Heh..sometimes it's just plain magic? :)
Glad that this one got solved though.
(nothing was changed in that part of configure though)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22324
--
Edit this bug report at http://bugs.php.net/?id=22324&edit=1