in reply to DBD::CSV site installation
% ldd `which perl`That will give you an idea what libc libarary you are using, actually, it will give you a list of all libraries that 'perl' uses, libc being one of them. Mine reads libc.so.6, for example.
use libs '/my/lib/dir';Or in your bash shell environment:
export PERL5LIB=/my/lib/dirRemember, you can't use something without compiling it. If you're lucky, you can always use it pre-compiled. If you need to make your own, you can always do this for each module:
This means they are installed into a different location. If this location is your home directory, you usually don't need root privileges. Then port it over:% perl Makefile.PL prefix=/my/lib/dir % make && make install
As a final note, the versions of 'perl' must match. You can't build on 5.8.0 and port to 5.6.1 or 5.005_03. If yours is off-kilter, grab a legacy version and build with it.box1% cd /my/lib box1% tar cvzf mylibs.tar.gz dir box1% scp mylibs.tar.gz box2: box2% cd /my/lib box2% tar xvzf ~/mylibs.tar.gz
|
|---|