<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.labrats.us//wiki/index.php?action=history&amp;feed=atom&amp;title=Installing_the_DBD%3A%3AOracle_perl_module</id>
	<title>Installing the DBD::Oracle perl module - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.labrats.us//wiki/index.php?action=history&amp;feed=atom&amp;title=Installing_the_DBD%3A%3AOracle_perl_module"/>
	<link rel="alternate" type="text/html" href="https://www.labrats.us//wiki/index.php?title=Installing_the_DBD::Oracle_perl_module&amp;action=history"/>
	<updated>2026-04-04T12:49:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://www.labrats.us//wiki/index.php?title=Installing_the_DBD::Oracle_perl_module&amp;diff=12&amp;oldid=prev</id>
		<title>Sfiggins: Created page with &quot;==== Sometimes the following error occurs while attempting to install DBD::Oracle ====  Unable to locate an oracle.mk or other suitable *.mk&lt;br&gt;file in your Oracle installatio...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.labrats.us//wiki/index.php?title=Installing_the_DBD::Oracle_perl_module&amp;diff=12&amp;oldid=prev"/>
		<updated>2015-10-04T20:10:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==== Sometimes the following error occurs while attempting to install DBD::Oracle ====  Unable to locate an oracle.mk or other suitable *.mk&amp;lt;br&amp;gt;file in your Oracle installatio...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==== Sometimes the following error occurs while attempting to install DBD::Oracle ====&lt;br /&gt;
&lt;br /&gt;
Unable to locate an oracle.mk or other suitable *.mk&amp;lt;br&amp;gt;file in your Oracle installation.&amp;amp;nbsp; (I looked in /usr/lib/oracle....)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;The oracle.mk (or demo_rdbms.mk) file is part of the Oracle&amp;lt;br&amp;gt;RDBMS product.&amp;amp;nbsp; You need to build DBD::Oracle on a&amp;lt;br&amp;gt;system which has one of these Oracle components installed.&amp;lt;br&amp;gt;(Other *.mk files such as the env_*.mk files will not work.)&amp;lt;br&amp;gt;Alternatively you can use Oracle Instant Client.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;In the unlikely event that a suitable *.mk file is installed&amp;lt;br&amp;gt;somewhere non-standard you can specify where it is using the -m option:&amp;lt;br&amp;gt;perl Makefile.PL -m /path/to/your.mk&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Most likely there are no *.mk files anywhere on the system.&amp;amp;nbsp; Don&amp;#039;t waste time scrounging for one.&amp;amp;nbsp; It won&amp;#039;t help anyway.&amp;amp;nbsp; The error message is itself erroneous.  ====&lt;br /&gt;
&lt;br /&gt;
==== You should be able to get the module installed by doing the following (skipping any steps that you&amp;#039;ve already done):  ====&lt;br /&gt;
&lt;br /&gt;
#Exit the cpan shell &lt;br /&gt;
#Download the version 11.2 &amp;quot;basic&amp;quot; and &amp;quot;devel&amp;quot; instant client rpms from the oracle web site for your machine architecture. &lt;br /&gt;
#Become root &lt;br /&gt;
#rpm -i oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm (for 64-bit architecture) &lt;br /&gt;
#rpm -i oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm (for 64-bit architecture) &lt;br /&gt;
#export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib &lt;br /&gt;
#export ORACLE_HOME=/usr/lib/oracle/11.2/client64 &lt;br /&gt;
#find and cd into the .cpan build directory. (probably, but not always, /root/.cpan/build) &lt;br /&gt;
#cd into the DBD-Oracle directory (will look something like: DBD-Oracle-1.66-4qqv8i) &lt;br /&gt;
#perl Makefile.PL -V 11.2 &lt;br /&gt;
#make &lt;br /&gt;
#make install&lt;/div&gt;</summary>
		<author><name>Sfiggins</name></author>
	</entry>
</feed>