Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: managing a single Perl installation across slightly different Linux OSs

by syphilis (Bishop)
on Jan 02, 2014 at 23:42 UTC ( #1069048=note: print w/replies, xml ) Need Help??


in reply to managing a single Perl installation across slightly different Linux OSs

I think I would build and install perl separately on each of the 10 servers (using same configure specs), then write a script that installs all required modules, and then run that script on each of the 10 servers.

That should avoid the type of problem you're experiencing with DBD::Pg. If you really want to just build once and then distribute, the only solutions to your DBD::Pg problem I can think of are:
1) Build DBD::Pg (and the others) against static libs;
2) Place a copy of libpq.so.4 (and the other shared libs) in the same directory as the perl executable.

Not sure that either of those two last options will scale terribly well. The second solution also assumes that the perl executable will be in the path on all machines.

Cheers,
Rob
  • Comment on Re: managing a single Perl installation across slightly different Linux OSs

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2020-11-27 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?