On Thu, Jun 12, 2014 at 09:13:59AM +1200, Nicholas Lee via smartos-discuss 
wrote:

> > Maybe obvious but is your perl actually located in /usr/local/bin/perl ??
> >  When's the last time you configured cpan / perl?
> >
> >
> [root@kwww2 ~]# which perl
> /opt/local/bin/perl
> [root@kwww2 ~]# ls -l /usr/bin/perl
> lrwxrwxrwx 1 root root 19 Apr 18 17:31 /usr/bin/perl -> /opt/local/bin/perl
> 
> also there is:
> [root@kwww2 ~]# /usr/perl5/bin/perl -v

Do not use this perl for anything, ever.  It is a private implementation
detail of the platform and is not an interface.  Anything that is not
part of the platform itself that consumes this may (and likely will) be
broken at any time.  That's why it's not in /usr/bin (same thing goes
for /usr/node/.../bin/node).

The symlink from /usr/bin into pkgsrc is an historical anomaly, the sole
dangling symlink left in the platform.  It exists mainly because someone
thought it was a good idea in the past, and we can't remove it without
breaking people who may have come to rely on /usr/bin/perl existing.
Really, it probably needs to go anyway.

It doesn't look like this is causing you any problems, but you
definitely want to make sure that /usr/perl5/bin is not in your PATH.


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to