LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-02-2006, 12:29 PM   #1
dbc001
Member
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 97

Rep: Reputation: 15
Question ffmpeg shared libraries


Trying to get ffmpeg to work, which i downloaded from linuxpackages.net. here's what happens when i run it:

Code:
# /usr/bin/ffmpeg
/usr/bin/ffmpeg: error while loading shared libraries: libavutil.so: cannot open shared object file: No such file or directory
anybody know where to get libaviutil.so? i've been googling it for hours with no luck - i can't even tell what package it's a part of...

thanks in advance!
dbc
 
Old 09-02-2006, 01:21 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
Don't know if ldd would help. This is my output:

Code:
TheVoid 19:17:35 (~)# ldd /usr/bin/ffmpeg
        linux-gate.so.1 =>  (0xffffe000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7faa000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f97000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f93000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e64000)
        /lib/ld-linux.so.2 (0xb7fe9000)
 
Old 09-02-2006, 01:23 PM   #3
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
I think its a core part of ffmpeg or transcode, sounds like you are missing a symlink or something. Check to see if you have libavutil.so.1 or libavutil.so.2 or something similar.
You might want to reinstall or install mplayer as that usually includes the libav* libraries.

Last edited by Eternal_Newbie; 09-02-2006 at 01:26 PM.
 
Old 09-02-2006, 02:47 PM   #4
dbc001
Member
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 97

Original Poster
Rep: Reputation: 15
alright, here's the output from ldd:
Code:
# ldd /usr/bin/ffmpeg
        libavformat.so => /usr/lib/libavformat.so (0x40030000)
        libavcodec.so => /usr/lib/libavcodec.so (0x400a7000)
        libavutil.so => not found
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40575000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4063f000)
        libdl.so.2 => /lib/libdl.so.2 (0x40651000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40655000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x406a6000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x407a5000)
        libtheora.so.0 => not found
        libogg.so.0 => /usr/lib/libogg.so.0 (0x407cc000)
        libfaad.so.0 => not found
        libfaac.so.0 => not found
        libc.so.6 => /lib/libc.so.6 (0x407d2000)
        libm.so.6 => /lib/libm.so.6 (0x408eb000)
        /lib/ld-linux.so.2 (0x40000000)
        libmp3lame.so.0 => not found
        libavutil.so => not found
        libavutil.so => not found
        libfaad.so.0 => not found
        libfaac.so.0 => not found
        libmp3lame.so.0 => not found
        libtheora.so.0 => not found
I went ahead and installed MPlayer and I can't tell if it installed the files that I'm looking for... (I didn't have MPlayer installed before - I just need commandline access to ffmpeg so that my gallery will build thumbnails for videos. I'm not really sure what to do next...
 
Old 09-02-2006, 03:24 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
From the mplayer page with instructions for compiling from svn it says:

"The sources will contain the libav* directories from FFmpeg so you don't need to download these separately."

The source also contains libfaad2 so that might solve one of your other deps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
any links on linking, loading shared libraries, shared objects. etc? ananthbv Programming 0 02-03-2005 07:47 AM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
mplayer: error while loading shared libraries: libdvdread.so.3: cannot open shared ob Bruce Hill Slackware 6 12-11-2003 08:34 AM


All times are GMT -5. The time now is 02:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration