Click here to get back home

Problem building DBD::Oracle on 64 bit solaris

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problem building DBD::Oracle on 64 bit solaris Yuri Shtil 04-13-2005
Posted by Yuri Shtil on April 13, 2005, 2:51 pm
Please log in for more thread options


I've tried to build this module using Oracle 10 for solaris 64 bit. The
problem is that the perl I have is 32 bit, so it does not like 64 bit shared
libraries. I could not find 32 bit libraries in the Oracle distribution.
There are some, but not all. To be honest, I have not installed Oracle, I
just perused the cpio file I downloaded and extracted files needed to build
the module.
I find it odd, that in order to build the module I need to install the whole
thing. I only need to access a DB from the host in question, not use the DB
on the host.
Am I doing something wrong? Do I need to build 64 bit perl?




Posted by Andy Hassall on April 13, 2005, 11:32 pm
Please log in for more thread options



>I've tried to build this module using Oracle 10 for solaris 64 bit. The
>problem is that the perl I have is 32 bit, so it does not like 64 bit shared
>libraries. I could not find 32 bit libraries in the Oracle distribution.
>There are some, but not all. To be honest, I have not installed Oracle, I
>just perused the cpio file I downloaded and extracted files needed to build
>the module.
>I find it odd, that in order to build the module I need to install the whole
>thing. I only need to access a DB from the host in question, not use the DB
>on the host.

Recent versions of DBD::Oracle (well - just the very latest - 1.16) can be
built against the Oracle Instant Client (SDK version).

>Am I doing something wrong? Do I need to build 64 bit perl?

Not sure - but there is a 32-bit Oracle Instant Client for Solaris.

http://www.oracle.com/technology/software/tech/oci/instantclient/index.html

Given that there isn't a full Oracle installer for Solaris 32-bit this is
probably the best bet.

Search for "dbi-users" on Google or subscribe to; there have definitely been
some posts on the mailing list on how to build against Instant Client - I don't
recall if it works out-of-the-box yet.

--
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool


Posted by Sybrand Bakker on April 13, 2005, 11:57 pm
Please log in for more thread options


wrote:

>Am I doing something wrong? Do I need to build 64 bit perl?

Oracle comes with perl. And what's more: it actually works!


--
Sybrand Bakker, Senior Oracle DBA


Posted by Yuri Shtil on April 13, 2005, 3:17 pm
Please log in for more thread options



> wrote:
>
> >Am I doing something wrong? Do I need to build 64 bit perl?
>
> Oracle comes with perl. And what's more: it actually works!
>
>
> --
> Sybrand Bakker, Senior Oracle DBA

Well, I'd like to believe you, however you did not answer my questions. Do
I have to install Oracle in order to use DBD::Oracle to access DB on other
hosts?
I already have a perl with a lot of modules I need for other reasons. Do I
have to replace my perl with the one that comes with Oracle?




Posted by Andy Hassall on April 13, 2005, 11:16 pm
Please log in for more thread options


wrote:

>wrote:
>
>>Am I doing something wrong? Do I need to build 64 bit perl?
>
>Oracle comes with perl. And what's more: it actually works!

Although it's a 4-year old version of Perl (5.6.1, current is 5.8.6) and a
similarly old DBD-Oracle (1.12 vs 1.16 - lots of improvements since then).

--
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool


Similar ThreadsPosted
Building Perl module GD::Text on Solaris 10 August 3, 2007, 3:37 pm
Building module Encode::Detect on solaris 10 platform February 21, 2008, 9:13 am
Sun Solaris Oracle DBM driver precompiled September 6, 2004, 1:28 pm
prebuilt DBI/DBD Oracle for solaris 8, perl5.00503 February 27, 2005, 10:22 am
Looking for pre-built DBI/DBD:Oracle modules for Perl 5.8.4 on Solaris 10 platform May 6, 2008, 5:02 pm
XML-Parser-2.34 install problem on Solaris December 7, 2004, 5:18 pm
Crypt:DES make problem on Solaris 9 March 10, 2005, 12:39 pm
Crypt:DES make problem on Solaris 9 March 10, 2005, 12:52 pm
Weird Module Installation Problem on Solaris 10 November 4, 2005, 8:36 am
Problem with DBD::Oracle in cgi-script August 28, 2007, 3:15 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap