Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

[svn:dbd-oracle] r2408 - dbd-oracle/trunk
Author: timbo
Date: Fri Jan 13 06:24:10 2006
New Revision: 2408

Modified:
dbd-oracle/trunk/Makefile.PL
Log:
Allow for HP-UX using both LD_LIBRARY_PATH and SHLIB_PATH


Modified: dbd-oracle/trunk/Makefile.PL
 ====================
 ====================
 ====================
================
==
--- dbd-oracle/trunk/Makefile.PL	(original)
+++ dbd-oracle/trunk/Makefile.PL	Fri Jan 13 06:24:10 2006
@@ -1743,8 +1743,16 @@ sub check_ldlibpthname {
my ($libdir) = @_;
$libdir ||= "$OH/".ora_libdir();
$libdir =~ s:[\\/]$::;
-    my $ldlibpthname = $Config{ldlibpthname} or return;
-    my $val = $ENV{$ldlibpthname} || '';
+    my ($ldlibpthname, $val);
+    if ($^O eq "hpux") { # hpux is odd again: can use two env vars
+        my @envs = grep { $ENV{$_} } qw( LD_LIBRARY_PATH SHLIB_PA
TH );
+        $ldlibpthname = join "/", @envs;
+        $val          = join $Config{path_sep}, @ENV{@envs}
+    }
+    else {
+        $ldlibpthname = $Config{ldlibpthname} or return;
+	$val          = $ENV{$ldlibpthname} || '';
+    }
print "Your $ldlibpthname env var is set to '$val'\n";
my @val = split /\Q$Config{path_sep}/o, $val, -1;
return 1 if grep { s:[\\/]$::; $_ eq $libdir } @val;

Report this thread to moderator Post Follow-up to this message
Old Post
timbo@cvs.perl.org
01-13-06 02:24 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Oracle PERL DBD archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:06 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006