Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

32 bit modules on 64 bit machines

by dino (Sexton)
on Oct 14, 2005 at 08:21 UTC ( #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?
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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2023-09-27 11:34 GMT
Find Nodes?
    Voting Booth?

    No recent polls found