Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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/CatGetS.pm #I do see the corresponding .so file. /opt/perl/installsitearch/auto/LibExt/CatGetS/CatGetS.so
How can I generate the CatGetS.pm from /CatGetS/CatGetS.so

Thanks for any wisdom. J

Comment on Compile a perl module from a shared object in Unix (AIX)
Download Code
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 CatGetS.pm in the @INC to refer to the CatGetS.so through some manipulation of the perl environment or the perl script? Thanks J

        No.

        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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-09-16 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls