You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An attempt to run mysql-test-run on Ubuntu 18.04.1 produces this error:
Can't locate lib/mtr_process.pl in @inc (@inc contains: lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./mtr line 105.
This is because mysql-test-run.pl has this
use lib "lib";
...
require "lib/mtr_process.pl";
Older versions of Perl have "." (current directory) in their @INC by default. Newer Perl version do not have "." in in @INC, and so one gets the error.
The text was updated successfully, but these errors were encountered:
Summary:
Change is needed in MySQL 5.6 and 5.7 as well.
Should resolvefacebook#885.
Test Plan: mtr
Reviewers: mung, rtm
Reviewed By: mung
Subscribers: butterflybot, aubertg, webscalesql-eng@fb.com
Differential Revision: https://phabricator.intern.facebook.com/D10407251
Tags: perl, aubertg
Signature: 10407251:1539714602:3fcc6db698efb7bc8e895daa5661edab30edf0f9
An attempt to run mysql-test-run on Ubuntu 18.04.1 produces this error:
This is because
mysql-test-run.pl
has thisOlder versions of Perl have "." (current directory) in their
@INC
by default. Newer Perl version do not have "." in in@INC
, and so one gets the error.The text was updated successfully, but these errors were encountered: