Reputation: 21
I've been trying to debug the PHP Script, but the error message that I receive is very unusual.
Code I ran:
exec('ffmpeg -i beep.mp3 -ac 1 -ar 48000 -ab 128k audio1.mp3 2>&1', $out, $rv);
echo "output is:\n".implode("\n", $out)."\nexit code:$rv\n";
I get the following error:
output is: ffmpeg: /opt/lampp/lib/libgcc_s.so.1: version `GCC_4.0.0' not found (required by /usr/lib/libdirac_encoder.so.0) ffmpeg: /opt/lampp/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6) exit code:1
Can someone help me out here?
Upvotes: 2
Views: 653
Reputation: 61
ffmpeg is looking in /opt/lampp/lib for libgcc. This is currently an out of date lib. Copy libgcc_s.so.1 from /lib to /opt/lampp/lib.
Upvotes: 3