[svn:dbd-oracle] r15483 - in dbd-oracle/trunk: . lib/DBD/Oracle/Troubleshooting

[email protected] Wed, 21 Nov 2012 02:33:45 -0800 (PST)
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
Author: mjevans
Date: Wed Nov 21 02:33:43 2012
New Revision: 15483

Modified:
   dbd-oracle/trunk/Changes
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Sun.pod

Log:
new faq on solaris and linker path


Modified: dbd-oracle/trunk/Changes
==============================================================================
--- dbd-oracle/trunk/Changes	(original)
+++ dbd-oracle/trunk/Changes	Wed Nov 21 02:33:43 2012
@@ -51,6 +51,8 @@
   - simple code clean up, replacing 3 uses of safemalloc with Newz
     (John Scoles)
 
+  - New FAQ entry on Solaris and setting linker library path.
+
 1.52      2012-10-19
 
  - promote 1.51_00 to official release

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Sun.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Sun.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Sun.pod	Wed Nov 21 02:33:43 2012
@@ -26,6 +26,22 @@
 
 It seems that having it defined will prevent the error.
 
+=head1 Setting library load path for instant client libraries
+
+Usually you set LD_LIBRARY_PATH to point to the location of
+your Oracle Instant Client (you need to do this when building
+DBD::Oracle). However, afterwards it can be a pain to keep
+ensuring this is set and changing LD_LIBRARY_PATH in your Perl
+script does not work (needs to be done beforehand) as the dynamic
+linker caches its value.
+
+An alternative under newer versions of Solaris is:
+
+root>  crle -u -l /youroracledir/lib/instantclient_11_2
+
+however, make sure you check the crle options as you may need to
+set the architecture etc as well.
+
 =head1 AUTHORS
 
 =over 4