in reply to Re^3: Help to execute mpg123 command with Audio::Play::MPG123 package
in thread Help to execute mpg123 command with Audio::Play::MPG123 package

The given script is executed and got the following error
Can't exec "mpg123": No such file or directory

But mpg123 command is been able to execute from the command line as
#> mpg123 a.mp3
and it was working fine

  • Comment on Re^4: Help to execute mpg123 command with Audio::Play::MPG123 package

Replies are listed 'Best First'.
Re^5: Help to execute mpg123 command with Audio::Play::MPG123 package
by Anonymous Monk on Feb 22, 2010 at 07:48 UTC

    Found the problem for getting the error in the previous post

    Installed the mpg123 command locally once the full path for the command is specified it was working fine

    Now My assumption is, this might be a problem to get the connection between the mpg123sh script and mpg123 -R command


    Please help me..............

      Sure, that is your problem. It sounds like you might have compiled mpg123, then ran it from the compile directory, but never actually installed it as root. Without installing mpg123 somewhere in your system's PATH, with "make install", the Perl script cannot find mpg123, the pipe fails, breaks, and gives you the first error message you got.

      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku