Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Issues with recompiling perl modules DBD oracle with 12c client

2842971Jun 2 2015 — edited Jul 8 2015

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2015
Added on Jun 2 2015
1 comment
1,190 views