in reply to Installing personal GD
The module is getting installed to ~/lib/perl5/site_perl/i386-linux, but you only added ~/lib to your library path. Try the whole path:Installing /home/***/lib/perl5/site_perl/i386-linux/GD.pm
When you changed to that directory and ran GD.pm from the command line, Perl's library path still had all the stuff in /usr at the beginning, so it found the old *.so file before it searched the current directory. But use lib adds paths at the beginning of the list of library paths.use lib '/home/anonymonk/lib/perl5/site_perl/i386-linux'; use GD; print "$GD::VERSION\n";
blokhead
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Installing personal GD
by benizi (Hermit) on Aug 25, 2003 at 16:00 UTC | |
|
Re: Re: Installing personal GD
by Anonymous Monk on Aug 28, 2003 at 17:27 UTC |