<?xml version="1.0" encoding="windows-1252"?>
<node id="1017509" title="Re: Can't use DBD::Oracle if LD_LIBRARY_PATH Not Set In Environment" created="2013-02-06 16:36:01" updated="2013-02-06 16:36:01">
<type id="11">
note</type>
<author id="31503">
runrig</author>
<data>
<field name="doctext">
What does it say if you unset LD_LIBRARY_PATH and you run:&lt;code&gt;
ldd /usr/perl5/5.16.2/lib/site_perl/5.16.2/sun4-solaris/auto/DBD/Oracle/Oracle.so
&lt;/code&gt;
&lt;p&gt;If the results point to locations that don't exist, then likely your DBD::Oracle was compiled on a different system where libraries were in a different place. Now you have to set LD_LIBRARY_PATH to specify where they are on your system.&lt;/p&gt;
&lt;p&gt;Update: Or compile DBD::Oracle on your current system so that the Oracle.so file knows where it's libraries are. On HP-UX you can use chatr to change the paths to libraries in a .so file...don't know if the same exists on solaris (don't think so). If you're really brave, maybe you can edit the paths in the .so binary yourself :-)&lt;/p&gt;</field>
<field name="root_node">
1017474</field>
<field name="parent_node">
1017474</field>
</data>
</node>
