Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

32 bit modules on 64 bit machines

by dino (Sexton)
on Oct 14, 2005 at 08:21 UTC ( [id://500163]=perlquestion: print w/replies, xml ) Need Help??

dino has asked for the wisdom of the Perl Monks concerning the following question:

Is there a way to build a perl module that links to 32 bit libraries on a 64 bit machine using a 64 bit built perl?
Example:
1) x86_64 rhel 4 machine (default perl rpms installed)
2) 32 bin Sybase (32 bit libaries) (64 bit Sybase on this platform not yet avail).
3) sybperl module when built tries to link to 32 bit Sybase libraries and fails.

I could build a different perl but that increases maintenance.

Replies are listed 'Best First'.
Re: 32 bit modules on 64 bit machines
by ambrus (Abbot) on Oct 14, 2005 at 08:37 UTC

    I'd guess no. I think you can only link 32-bit modules to a 32-bit perl.

Re: 32 bit modules on 64 bit machines
by mpeppler (Vicar) on Oct 15, 2005 at 07:09 UTC
    There is a version of Sybase for the x86_64 platform, but I don't think you can install it for free (i.e. there's no developer or express edition).

    So unless you wish to buy the licence for the x86_64 platform you'll have to build a new perl binary.

    Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://500163]
Approved by muntfish
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2025-01-17 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (55 votes). Check out past polls.