Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Compile a perl module from a shared object in Unix (AIX)

by Kyomizudera (Initiate)
on Jan 17, 2013 at 17:16 UTC ( #1013822=perlquestion: print w/ replies, xml ) Need Help??
Kyomizudera has asked for the wisdom of the Perl Monks concerning the following question:

O perl monks, I seek your collective wisdom.

Recently I discovered that several perl modules had been erased and that backups did not exist for the particular folder the modules exist in. I tried updating - reinstalling etc but the modules are not available from the (AIX .bff) files. I did however find the .so file counterparts to the .pm files that are Supposed to be installed. I have searched around for how to generate a perl module from a shared object but it seems that there is no good documentation.

#I am supposed to have /opt/perl/installsitearch/LibExt/ #I do see the corresponding .so file. /opt/perl/installsitearch/auto/LibExt/CatGetS/
How can I generate the from /CatGetS/

Thanks for any wisdom. J

Comment on Compile a perl module from a shared object in Unix (AIX)
Download Code
Replies are listed 'Best First'.
Re: Compile a perl module from a shared object in Unix (AIX)
by Corion (Pope) on Jan 17, 2013 at 17:23 UTC

    The two are companion files, but you cannot generate one from the other.

    You haven't told us where these files are supposed to come from, but a cursory Google search suggests that they are somehow related to SUMA. I can only suggest you contact them to supply you with the appropriate files...

      Is there a way to trick perl into referencing the .so file since it is a binary form or the perl module? Can I force the script that is calling for the in the @INC to refer to the through some manipulation of the perl environment or the perl script? Thanks J


        The .so belongs to the .pm file, but they are different things and you cannot get one from the other. The .so file is not a compiled .pm file. You cannot get from one file to the other file.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2015-11-28 07:21 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls