Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Problem building DBD::Oracle on 64 bit solaris
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?



Report this thread to moderator Post Follow-up to this message
Old Post
Yuri Shtil
04-14-05 01:55 AM


Re: Problem building DBD::Oracle on 64 bit solaris
On Wed, 13 Apr 2005 13:51:22 -0700, "Yuri Shtil" <yshtil@synopsys.com>
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

Report this thread to moderator Post Follow-up to this message
Old Post
Sybrand Bakker
04-14-05 01:55 AM


Re: Problem building DBD::Oracle on 64 bit solaris
On Wed, 13 Apr 2005 22:57:01 +0200, Sybrand Bakker <postbus@sybrandb.demon.n
l>
wrote:

>On Wed, 13 Apr 2005 13:51:22 -0700, "Yuri Shtil" <yshtil@synopsys.com>
>wrote:
> 
>
>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).

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

Report this thread to moderator Post Follow-up to this message
Old Post
Andy Hassall
04-14-05 01:55 AM


Re: Problem building DBD::Oracle on 64 bit solaris
"Sybrand Bakker" <postbus@sybrandb.demon.nl> wrote in message
 news:6s1r5156eloa2r9m3i9pag0q4mvbphl85t@
4ax.com...
> On Wed, 13 Apr 2005 13:51:22 -0700, "Yuri Shtil" <yshtil@synopsys.com>
> wrote:
> 
>
> 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?



Report this thread to moderator Post Follow-up to this message
Old Post
Yuri Shtil
04-14-05 01:55 AM


Re: Problem building DBD::Oracle on 64 bit solaris
On Wed, 13 Apr 2005 13:51:22 -0700, "Yuri Shtil" <yshtil@synopsys.com> wrote
:

>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 share
d
>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 whol
e
>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/so...ient/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 do
n't
recall if it works out-of-the-box yet.

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

Report this thread to moderator Post Follow-up to this message
Old Post
Andy Hassall
04-14-05 01:55 AM


Re: Problem building DBD::Oracle on 64 bit solaris
On Wed, 13 Apr 2005 13:51:22 -0700, "Yuri Shtil" <yshtil@synopsys.com>
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

Report this thread to moderator Post Follow-up to this message
Old Post
Sybrand Bakker
04-20-05 08:56 PM


Re: Problem building DBD::Oracle on 64 bit solaris
On Wed, 13 Apr 2005 22:57:01 +0200, Sybrand Bakker <postbus@sybrandb.demon.n
l>
wrote:

>On Wed, 13 Apr 2005 13:51:22 -0700, "Yuri Shtil" <yshtil@synopsys.com>
>wrote:
> 
>
>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).

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

Report this thread to moderator Post Follow-up to this message
Old Post
Andy Hassall
04-20-05 08:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Modules archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:07 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.