Subject: Bug#1133 closed by Stefan Baur <[email-masked]> (Re: [X2Go-Dev] Bug#1133: Inconsistent Perl used by server or its agent on connect)

From: [email-masked] (X2Go Bug Tracking System)
Date: Tue, 10 Jan 2017 22:40:03 +0000

This is an automatic notification regarding your Bug report
which was filed against the nxagent package:

#1133: Inconsistent Perl used by server or its agent on connect

It has been closed by Stefan Baur <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Stefan Baur <[email-masked]> by
replying to this email.

-- 
1133: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1133
X2Go Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [X2Go-Dev] Bug#1133: Inconsistent Perl used by server or its agent on connect
From: Stefan Baur <[email-masked]>
To: Ted Toal <[email-masked]>, [email-masked], [email-masked]
Date: Tue, 10 Jan 2017 23:35:19 +0100

Control: close -1
Control: tag -1 not-a-bug

Am 10.01.2017 um 22:15 schrieb Ted Toal:
> Package: NXAGENT
> Version: 3.5.0
> 
> My .bash_profile defines Perl environment variables for Active Perl, and adds the Active Perl bin directory to the start of the path. This causes an x2go session to fail with the message:
> Connection failed. /usr/bin/perl: symbol lookup error: /share/carvajal-archive/PACKAGES/local/ActivePerl-5.24/lib/auto/Sys/Hostname/Hostname.so: undefined symbol: Perl_xs_handshake
> NXAGENT is user /usr/bin/perl and ignoring the Perl bin directory at the start of the path, but it is nevertheless using the Perl environment variables and so is looking in the wrong place for the Perl library.

I'd say this isn't a bug, but actually expected behavior.
If you need different values for variables depending on which software
you run, you either need to prefix them manually each time you call that
software, or write a wrapper script, or use if/then clauses in your
.bash_profile.  The latter is what you seem to have decided to do, and
ran into problems with, judging from your bug report #1134, thus closing
this one.

-Stefan

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

Subject: Inconsistent Perl used by server or its agent on connect
From: Ted Toal <[email-masked]>
To: [email-masked]
Date: Tue, 10 Jan 2017 13:15:18 -0800

Package: NXAGENT
Version: 3.5.0

My .bash_profile defines Perl environment variables for Active Perl, and adds the Active Perl bin directory to the start of the path. This causes an x2go session to fail with the message:
Connection failed. /usr/bin/perl: symbol lookup error: /share/carvajal-archive/PACKAGES/local/ActivePerl-5.24/lib/auto/Sys/Hostname/Hostname.so: undefined symbol: Perl_xs_handshake
NXAGENT is user /usr/bin/perl and ignoring the Perl bin directory at the start of the path, but it is nevertheless using the Perl environment variables and so is looking in the wrong place for the Perl library.