LinuxQuestions.org
Visit Jeremy's Blog.
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 02-09-2007, 06:41 AM   #1
jonny_b4e
LQ Newbie
 
Registered: Jan 2007
Posts: 10

Rep: Reputation: 0
ffmpeg and acer laptop problem


Hi everybody. I've just installed slackware 11 on my laptop. While trying to compile some programs, I realised that a lot of libraries were missing. One of them was ffmpeg/libavcodec. I tried to compile programs like gxine, transcode,vlc etc and they all displayed the same message after configure: couldn't link to libavcodec. I've compiled ffmpeg myself, i've then uninstalled and installed a package from linuxpackages, i've also tried other packages but the configue message is the same. Why?

Also, i have an acer travelmate 433LC. On kde, there is no battery icon and when trying to initiate it it reads something about an acpi problem and recompiling the kernel. Anyone knows what to do and where to find appropriate drivers?

Thanks.
 
Old 02-10-2007, 12:04 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
1) you need to post the exact output / error log from configure

2) what kernel are you using ?
 
Old 02-10-2007, 06:52 PM   #3
ludist
Member
 
Registered: Nov 2005
Location: Greece
Distribution: Slackware
Posts: 180

Rep: Reputation: 23
I compiled ffmpeg, transcode, MPlayer without problems. I suppose you forgot some options?

I think it's better to download them all from www.slacky.it I tested them and they are working smoothly.

If I remember correctly, those are the options for ffmpeg
./configure --prefix=/usr --enable-a52 --enable-faac --enable-mp3lame --enable-libogg --enable-vorbis --enable-xvid --enable-x264 --enable-faad --enable-gpl --enable-dc1394 --enable-x11grab --enable-faad --enable-libgsm --enable-shared --enable-pp --enable-pthreads

and transcode
./configure --prefix=/usr --sysconfdir=/etc -localstatedir=/var --enable-ogg --enable-vorbis --enable-libdvdread --enable-libdv --enable-libquicktime --enable-a52 --enable-sdl --enable-imagemagick --enable-mjpegtools --enable-libjpeg --enable-lzo

As you can see, you need many libraries like: a52, faac, mp3lame, libdvdcss e.t.c. All available at slacky.it
 
Old 02-11-2007, 06:05 AM   #4
jonny_b4e
LQ Newbie
 
Registered: Jan 2007
Posts: 10

Original Poster
Rep: Reputation: 0
ffmpeg

ludist, Ihave compiled all of the libraries you mentioned (I mostly compile rather than install a ready package). As for transode,most of the options you mention are already predefined.


H_TeXMeX_H , i use kernel 2.6.17.13. The exact output of the error (from transcode for example) is : error:requirement failed: cannot link against libavcodec. libavcodec can be found in the follwing packages: FFMpeg http://www.ffmpeg.org


and that's about it....
 
Old 02-11-2007, 07:02 AM   #5
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Did you build ffmpeg with --enable-shared (as ludist suggested). If you don't, ffmpeg doesn't build shared libraries by default, so libavcodec won't exist.
 
Old 02-13-2007, 11:48 AM   #6
ludist
Member
 
Registered: Nov 2005
Location: Greece
Distribution: Slackware
Posts: 180

Rep: Reputation: 23
Quote:
Originally Posted by jonny_b4e
i use kernel 2.6.17.13. The exact output of the error (from transcode for example) is : error:requirement failed: cannot link against libavcodec. libavcodec can be found in the follwing packages: FFMpeg http://www.ffmpeg.org
Ohhh, I don't know if I am right. BUT:

I experienced the exact error message (AND for liblzo), although I have installed ffmpeg with --enable-shared. So, I was pissed off and proceed with make and I am still using my transcode / ffmpeg package without problems! Funny, strange? I don't know, it works.

Just make sure you have the files like /usr/lib/libavcodec.so e.t.c.

(I am new to this)

Last edited by ludist; 02-13-2007 at 11:50 AM.
 
  


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
ACER 9500 Laptop Display Problem fawqati Linux - Laptop and Netbook 1 10-31-2006 06:29 AM
Fedora 4 problem with Acer Laptop chetanbhatsp Fedora 3 12-29-2005 07:13 AM
problem with screen setup on Acer Laptop jolflo Linux - Hardware 0 06-03-2004 10:27 AM
problem installation on a ACER Travelmate 630 Laptop jolflo Linux - Laptop and Netbook 0 06-03-2004 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration