Re: jsteffee@bepress.com 2016-04-27 <20160427202409.19109.81530@wrigleys.postgresql.org>
> The following bug has been logged on the website:
>
> Bug reference: 14117
> Logged by: Joe Steffee
> Email address: jsteffee@bepress.com
> PostgreSQL version: 9.5.2
> Operating system: Ubuntu 14.04.2
> Description:
>
> We have multiple systems which use non-system perl for various tasks,
> including perl scripts which test some pg_dump commands. These break because
> psql and pg_dump are hard-coded with #!/usr/bin/perl instead of
> #!/usr/bin/env perl. The PERL5LIB is set up with libraries based on the perl
> called with ENV, where /usr/bin/perl has libraries compiled differently.
Hi,
the usage of `#!/usr/bin/perl' is mandated by the Debian policy and
the Perl sub policy, so it is not going to change. If you need a
different Perl, you'll need to dpkg-divert /usr/bin/perl away and
install your version there, I'm afraid.
Christoph