[Solved] optimize_mythdb.pl Can't locate MythTV.pm in @INC

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
drifting
Junior
Posts: 25
Joined: Tue Nov 11, 2014 2:04 pm
Great Britain

[Solved] optimize_mythdb.pl Can't locate MythTV.pm in @INC

Post by drifting »

Hi one and all.

optimize_mythdb.pl Can't locate MythTV.pm in @INC

Can anyone help with the above issue? I did read somewhere about bindings? But to be perfectly honest I did not understand the answer? Something about moving the bindings?
Full error.
Can't locate MythTV.pm in @INC (you may need to install the MythTV module) (@INC contains: . /usr/share/doc/mythtv-backend/contrib/maintenance /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./flush_deleted_recgroup.pl line 17.
BEGIN failed--compilation aborted at ./flush_deleted_recgroup.pl line 17.

Any help appreciated.

Paul
User avatar
Steve Goodey
Moderator
Posts: 219
Joined: Fri Feb 07, 2014 6:30 pm
Location: Colchester, England
Great Britain

Re: optimize_mythdb.pl Can't locate MythTV.pm in @INC

Post by Steve Goodey »

I had the same error and found that

Code: Select all

sudo apt install libmythtv-perl
worked for me.
Don't forget the Wiki.
drifting
Junior
Posts: 25
Joined: Tue Nov 11, 2014 2:04 pm
Great Britain

Re: optimize_mythdb.pl Can't locate MythTV.pm in @INC

Post by drifting »

Brilliant, thank you so much, that sorted it.

Paul.
Post Reply