Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> proc.mk and Oracle11 (cannot link DBD::Oracle with oracle11)
DBD::Oracle cannot be linked against oracle11. Here is the error
message:
Using Oracle in /oracle/product/11.1.0
DEFINE _SQLPLUS_RELEASE = "1101000600" (CHAR)
Oracle version 11.1.0.6 (11.1)
Unable to locate an oracle.mk, proc.mk or other suitable *.mk file in your Oracle installation. (I looked in /oracle/product/11.1.0/rdbms/demo/demo_xe.mk /oracle/product/11.1.0/rdbms/lib/oracle.mk /oracle/product/11.1.0/rdbms/demo/ oracle.mk /oracle/product/11.1.0/rdbms/demo/demo_rdbms.mk /oracle/ product/11.1.0/precomp/demo/proc/proc.mk /oracle/product/11.1.0/precomp/ demo/proc/demo_proc.mk /oracle/product/11.1.0/proc/lib/proc.mk /oracle/ product/11.1.0/proc16/lib/proc16.mk under /oracle/product/11.1.0)
The oracle.mk (or demo_rdbms.mk) file is part of the Oracle RDBMS product. The proc.mk (or demo_proc.mk) file is part of the Oracle Pro*C product. You need to build DBD::Oracle on a system which has one of these Oracle components installed. (Other *.mk files such as the env_*.mk files will not work.) Alternatively you can use Oracle Instant Client.
It turns out that there is no suitable make file. Any solution? The problem is not urgent, I circumvented it by installing 10G client which works perfectly fine. PHP 5.2.3, on the other hand, has no problem linking with oracle11 but, for some reason beyond my comprehension, reports using oracle 10.1.:
OCI8 Support => enabled
Version => 1.2.3
Revision => $Revision: 1.269.2.16.2.32 $
Active Persistent Connections => 0
Active Connections => 0
Oracle Version => 10.1
Compile-time ORACLE_HOME => /oracle/product/11.1.0
Libraries Used =>
Temporary Lob support => enabled
Collections support => enabled
Directive => Local Value => Master Value
oci8.default_prefetch => 10 => 10 oci8.max_persistent => -1 => -1 oci8.old_oci_close_semantics => 0 => 0 oci8.persistent_timeout => -1 => -1 oci8.ping_interval => 60 => 60 oci8.privileged_connect => Off => Off oci8.statement_cache_size => 20 => 20
-- http://www.mladen-gogala.comReceived on Sat Aug 18 2007 - 10:20:01 CDT