FFmpeg problem after the installation

FFmpeg problem after the installation

Posted by: Feriboy
Posted on: 2009-02-28 12:59:00

Hi!

I know there is a lot of ffmpeg thread but i didn't find the solution for my problem.
I followed the ffmpeg article in the dreamhost wiki and everything went fine. But when i'm trying to convert a video file i get this error message:

In reply to:

/home/feriboy/bin/ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory


my .bash_profile contains this:

In reply to:

# ~/.bash_profile: executed by bash(1) for login shells.

umask 002
PS1='[\h]$ '
export PATH=/home/feriboy/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
export PATH=/home/feriboy/bin:/home/feriboy/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
export TMPDIR=$HOME/tmp
export PATH=$HOME/bin:$PATH
export LD_LIBRARY_PATH=$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH
export CPATH=$HOME/include:/usr/local/include:$CPATH
export LIBRARY_PATH=$HOME/lib:/usr/local/lib:$LIBRARY_PATH


Any ideas what went wrong? Should I compile my own php5 too? I just want to convert avi, mpg etc. to mp4 (x264)

Re: FFmpeg problem after the installation

Posted by: sXi
Posted on: 2009-02-28 13:43:00

Remove the top 2 PATH sets, logout, then back in.

$ which ffmpeg should echo /home/feriboy/bin/ffmpeg.




How To Install PHP.INI / ionCube on DreamHost

Re: FFmpeg problem after the installation

Posted by: Feriboy
Posted on: 2009-02-28 14:17:00

I remived the top 2 PATH line with pico, logged out logged in, which ffmpeg gives /home/feriboy/bin/ffmpeg BUT still get the same error (rror while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory)

Re: FFmpeg problem after the installation

Posted by: sXi
Posted on: 2009-03-01 01:31:00

Check ~/lib for libavdevice.* files (4).

Sounds like you'd best try a rebuild.




How To Install PHP.INI / ionCube on DreamHost

Re: FFmpeg problem after the installation

Posted by: Feriboy
Posted on: 2009-03-01 02:14:00

Rebuild? Should I download ffmpeg and make, make install again? Sorry I'm a windows guy :D
ps. I found your site a few days ago, and your php.ini installer is worked fine. Great job!

Re: FFmpeg problem after the installation

Posted by: xcriteria
Posted on: 2009-06-07 16:28:00

I'm having this exact problem.

I compiled and installed ffmpeg locally (in ~/bin and ~/lib), but I get the error:
ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory

I compiled both the latest svn version and the latest release, 0.5. Same problem.

Any ideas?


Tags: login shellserror while loading shared librariesld libraryexport pathlibrary pathbin binshared objectphp5ps1error messagewikireplygames