Thursday, March 2, 2017

Error moc: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/moc': No such file or directory


When i try to run 'moc' on the command line, i got an error saying "moc: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/moc': No such file or directory". How to fix this issue?

If what you are looking is the moc (music on console) music player then you are wrong, the command for running moc music player is actually 'mocp', not 'moc'.

Error :
Error when running 'moc' command
moc: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/moc': No such file or directory

Solution :
Use 'mocp' instead of 'moc'
mocp

No comments:

Post a Comment