Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 137199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:04:07+00:00 2026-05-11T07:04:07+00:00

I was using PAR::Packer to package my Perl application on Cygwin and then running

  • 0

I was using PAR::Packer to package my Perl application on Cygwin and then running it on HPUX.

A simple hello world works well, e.g.:

pp -p hello.pl 

That results in a.par and then on HPUX:

parl a.par 

It works great.

However when package a bigger application with many dependencies with -B bundle switch, no such luck, instead I get the error:

 Can't locate loadable object for module Socket in @INC 

Any ideas, maybe some problem with Windows/unix networking? Any fixes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T07:04:07+00:00Added an answer on May 11, 2026 at 7:04 am

    Perl blixtor’s advice from comments I am moving the "edit updates" I had in the question to answer my own question here:

    Most of the credit here goes to Andrew Barnett, the 2 key issues were the

    1. native C code library
    2. the perl LIB paths

    Here were the steps I followed to get the cygwin created par to run on HPUX, I believe steps should be about same on any unix:

    Followed Andrew’s advice and removed IO::Socket with the pp -X IO::Socket switch, but then running the resulting parl on unix I get slightly modified but still related error:

    Can't locate Socket.pm in @INC (@INC contains: CODE(0x406ab018) CODE(0x4055c880) CODE(0x40563978)) at Net/Config.pm line 11 

    even though running "perl -MCPAN -e shell" on the unix showed Socket should be installed and up to date:

    cpan[2]> install IO::Socket IO::Socket is up to date (1.30_01). 

    So in addition to excluding Socket with the -X switch abobe, I also had to create a wrapper script on HPUX with just this 1 line in in, wrapper.pl:

    use PAR { file => 'bdiff.par', run => 'bdiff.pl' }; 

    then to run this I didn’t use parl, instead I would just call it with perl and I had to supply the entire paths to the default lib paths with the -I switch, like this:

    perl -I/lib/perl5/lib/5.10.0/PA-RISC2.0 -I/lib/lib/site_perl wrapper.pl allparameters 

    for some reason when using parl it seems the default lib paths get excluded, hence the full paths above.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently using the PAR Packer (pp) to package a couple of pl scripts
I wrote a simple parallel matrix multiplication using par and pseq . After running
I have been using PAR:Packer (pp) to create binaries for windows for a while.
I am using PAR:Packager to create exe from perl. I wish to make .exe
I'm trying to package a Perl script to EXE using the pp utility bundled
I am using the sm package in R to draw a density plot of
I've been thinking of using par() or layout() functions for combining ggplots. Will it
Here are my specs: OS X Tiger Perl 5.8 Using Tkx bundled with ActiveTcl
I am using a File Upload script called Simple Photo Manager. When I upload
i am using a webmethod with uses the params keyword. (params int[] par) can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.