Hi All
I Have perl modules DBI,DBD. oracle with oracle 10g client on SUN sparc 64 bit . And its working fine. However we have migrated our DB to 12c and in this process we have installed new oracle 12 client on Sun box . When I recompiled the existing DBD oracle module I get the following error. Any views on this much appreicated.
Should I install the latest DBI,DBD Oracle version and recomiple with the oracle client.
When I have googled I saw running the perl makefile. pl with -l option but not sure if this works.
echo $ORACLE_HOME
/tools/oracle/product/12c102_client64_solaris10
bash-3.2# echo $LD_LIBRARY_PATH
/tools/oracle/product/12c102_client64_solaris10/lib:/usr/perl5/5.6.1/lib
bash-3.2# which gcc
/usr/sfw/bin/gcc
bash-3.2# perl Makefile.PL
Using DBI 1.58 (for perl 5.008004 on sun4-solaris-64int) installed in /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/auto/DBI/
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in /tools/oracle/product/12c102_client64_solaris10
DEFINE _SQLPLUS_RELEASE = "1201000200" (CHAR)
Oracle version 12.1.0.2 (12.1)
Unable to locate an oracle.mk, proc.mk or other suitable *.mk
file in your Oracle installation. (I looked in
/tools/oracle/product/12c102_client64_solaris10/rdbms/lib/oracle.mk /tools/oracle/product/12c102_client64_solaris10/rdbms/demo/oracle.mk /tools/oracle/product/12c102_client64_solaris10/rdbms/demo/demo_rdbms.mk /tools/oracle/product/12c102_client64_solaris10/otrace/demo/atmoci.mk /tools/oracle/product/12c102_client64_solaris10/precomp/demo/proc/proc.mk /tools/oracle/product/12c102_client64_solaris10/precomp/demo/proc/demo_proc.mk /tools/oracle/product/12c102_client64_solaris10/proc/lib/proc.mk /tools/oracle/product/12c102_client64_solaris10/proc16/lib/proc16.mk)
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.)
In the unlikely event that a suitable *.mk file is installed
somewhere non-standard you can specify where it is using the -m option:
perl Makefile.PL -m /path/to/your.mk
See README.clients for more information and some alternatives.
at Makefile.PL line 922.
Thanks in Advance