RE: [Perl-unix-users] Installing ActiveState's perl 5.8 on Red Hat 9
by James Schappet other posts by this author
Apr 17 2003 11:49AM messages near this date
RE: [Perl-unix-users] Installing ActiveState's perl 5.8 on Red Hat 9
|
[Perl-unix-users] Installing ActiveState's perl 5.8 on Red Hat 9
Victor,
It is not LD_LIBRARY_PATH that needs to be set. You will need to set
PERLLIB.
ie.
$ perl -V
<snip>
@INC:
/usr/local/lib/perl5/5.6.1/i686-linux
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.
$ export PERLLIB=/opt/myperllibs
$ perl -V
<snip>
@INC:
/opt/myperlibs <--- PERLLIB is pre-pended to the @INC Path.
/usr/local/lib/perl5/5.6.1/i686-linux
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.
Therefore: If you set PERLLIB in your profile, every perl instance will
use the same lib directory.
Jimmy
-----Original Message-----
From: perl-unix-users-admin@[...].com
[mailto:perl-unix-users-admin@[...].com] On Behalf Of
kadir@[...].cu
Sent: Wednesday, April 16, 2003 7:46 PM
To: Ruotti, Victor
Cc: perl-unix-users@[...].com
Subject: RE: [Perl-unix-users] Installing ActiveState's perl 5.8 on Red
Hat 9
Hi!
On 16 Apr 2003 at 16:45, Ruotti, Victor wrote:
> Did you try changing the LD_LIBRARY_PATH in your general profile
pointing to
> the new installed perl libraries?
:
I did it. I does not work :-( It seems that @INC dirs are 'hardcoded'
into some define at compile time.
Regards,
Rodrigo
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Ruotti, Victor
James Schappet
|