Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Installed Module Dependencies?

by almut (Canon)
on Jul 18, 2008 at 18:56 UTC ( #698709=note: print w/replies, xml ) Need Help??

in reply to Installed Module Dependencies?

Module::ScanDeps might help... (it's for example used by PAR)

Update: but note that when you're dealing with XS modules, Module::ScanDeps won't determine secondary dependencies of shared object files (at least I wouldn't know how...).

For example, lets say you're trying to track the dependencies of the module GD, which has architecture-specific parts. In this case, Module::ScanDeps will only tell you about the immediate shared object file that's loaded by Dynaloader.  However, in turn depends on a multitude of other shared libs, like libgd, libpng, libjpeg, libfreetype, libfontconfig, libexpat, etc., without which the shared object will not work...  (Some of those libs may come with the default OS installation, but typically not all of them... Also, you'd have to make sure that versions are matching.)

In other words, if you want to get such a module working on another machine, you'd have to take care of determining/packaging those dependencies yourself (with the help of the appropriate system tool, like ldd on Linux).

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2016-10-01 15:59 GMT
Find Nodes?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:

    Results (579 votes). Check out past polls.