Created
June 7, 2013 02:38
-
-
Save davidbirdsong/5726714 to your computer and use it in GitHub Desktop.
stupid perl include problem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [david@ip-10-100-1-44 ~]$ /data/loko/infra-hwyman-mogbase/current/bin/mogadm --trackers=10.100.1.45:7001 host list . | |
| +++ dirname /data/loko/infra-hwyman-mogbase/current/bin/pwrapper | |
| ++ readlink -f /data/loko/infra-hwyman-mogbase/current/bin | |
| + BIN_DIR=/export/hda3/loko/infra-hwyman-mogbase/installed/59f3b7e/bin | |
| + export PERL5LIB=/export/hda3/loko/infra-hwyman-mogbase/installed/59f3b7e/bin/../perl5/lib/perl5 | |
| + PERL5LIB=/export/hda3/loko/infra-hwyman-mogbase/installed/59f3b7e/bin/../perl5/lib/perl5 | |
| + BIN=mogadm | |
| + shift | |
| + exec /export/hda3/loko/infra-hwyman-mogbase/installed/59f3b7e/bin/../perl5/bin/mogadm --trackers=10.100.1.45:7001 host list . | |
| Unable to find MogileFS::Admin module. Please ensure that you have the | |
| module installed in a location in your search path. Or, add a search path | |
| to mogadm: | |
| mogadm --lib=/path/to/lib | |
| Or add it to the configuration file: | |
| lib = /path/to/lib | |
| [david@ip-10-100-1-44 ~]$ PERL5LIB=/export/hda3/loko/infra-hwyman-mogbase/installed/59f3b7e/bin/../perl5/lib/perl5 | |
| [david@ip-10-100-1-44 ~]$ find $PERL5LIB -name Admin.pm | |
| /export/hda3/loko/infra-hwyman-mogbase/installed/59f3b7e/bin/../perl5/lib/perl5/MogileFS/Admin.pm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment