Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Do I need to build a 64bit Perl

by Tux (Monsignor)
on May 21, 2014 at 16:30 UTC ( #1086996=note: print w/ replies, xml ) Need Help??


in reply to Do I need to build a 64bit Perl

Those are two simple questions. The second is easy to answer: DBD::Oracle does NOT need -Dusethreads. But when you build perl to be used for Oracle, be sure to link in -lpthread. You might also need -lcl.

The first question really depends on what client library you are linking DBD::Oracle to. A 32bit client library will talk to a 64bit server (even on the same machine), but if the database is running as 64bit on the same machine, it is much easier to link to 64bit client libraries. The bitness of the perl binary has to match the bitness of the client library.

If your Oracle installation is installed with both 32it and 64bit client libraries, you are free to pick the one that matches your perl.


Enjoy, Have FUN! H.Merijn


Comment on Re: Do I need to build a 64bit Perl
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1086996]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2014-12-18 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (66 votes), past polls