LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-24-2005, 11:53 PM   #1
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Rep: Reputation: 15
Problem when compiling VLC.


Hi. When I'm compiling VLC i get this error:

/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: cannot find -lmp3lame
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/robban/Packages/Sources/vlc-0.8.4a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/robban/Packages/Sources/vlc-0.8.4a'
make: *** [all] Error 2

And I've been searching google and many forums but i cant find a solution.
Please help me with this.
 
Old 12-24-2005, 11:55 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
do you have lame installed? It is complaining about mp3lame which should be taken care of if you've got lame and lame-devel packages installed.
 
Old 12-25-2005, 12:07 AM   #3
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
No i didnt have lame installed actually
But where can i find lame-devel? I googled it but it only showed RPM's and such.
 
Old 12-25-2005, 12:10 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
You're profile's correct? You're running slackware? Just get the source tarball, build and install. You'll get all the headers and development files.

http://www.linuxpackages.net/search_...=lame&ver=10.2

don't worry about the Arch being i486. You can change the target arch in ./configure to i686.
 
Old 12-25-2005, 12:12 AM   #5
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
Oh, well i downloaded that file from that site and installed already :P
Gonna compile again now and see if it works better this time.

EDIT: And oh, yes my profile is correct

Last edited by Synt4x_3rr0r; 12-25-2005 at 12:14 AM.
 
Old 12-25-2005, 12:14 AM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
compiling vlc didn't work after installing lame?

There's probably no need to reinstall lame if you installed it already...
 
Old 12-25-2005, 12:19 AM   #7
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
No, thats not what i ment
After you told me to install it, i went to linuxpackages.net and downloaded it.
I just didnt think the devel stuff came with it.
 
Old 12-25-2005, 12:23 AM   #8
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
Hmm now im getting:
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: cannot find -lfaad
instead =/
 
Old 12-25-2005, 12:26 AM   #9
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
now you need the faad2 package.

Actually, do you have any multimedia library packages installed? It might be good to just search for all the slack multimedia library packages and install them all... lol...

Last edited by megaspaz; 12-25-2005 at 12:27 AM.
 
Old 12-25-2005, 12:31 AM   #10
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
Hmm, i dont know exactly wich multimedia libraries i have :S
I have only installed win32 codecs. And i can watch everything in Xine. But I don't know, maybe theres more


EDIT: I think you actually may be right. Now it's complaining about lfaac.

Last edited by Synt4x_3rr0r; 12-25-2005 at 12:32 AM.
 
Old 12-25-2005, 12:35 AM   #11
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
good luck to ya. just to let you know, you're not looking for lfaac, but faac. So your errors are going to look like:

-lfaac

the package is part of the string after the '-l'.

edit: although with the -lmp3lame error, you just had to have known it was looking for lame... lol

Last edited by megaspaz; 12-25-2005 at 12:36 AM.
 
Old 12-25-2005, 12:41 AM   #12
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
Thank you for your help. I got it working now.
And thanks for the tip about the l infront of the name in the error messages. You learn stuff everyday
 
  


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
Problem with ffmpeg compiling vlc Gerard_2009 Linux - Software 3 12-11-2005 04:46 PM
vlc-player problem supersucker Linux - Newbie 2 08-03-2005 09:24 AM
VLC problem n3tw0rk Linux - Software 0 10-15-2004 04:46 AM
VLC plugin Problem rayesteq Linux - Software 0 09-01-2004 07:54 AM
VLC Player installation problem guessme Linux - Software 0 07-08-2004 01:25 PM


All times are GMT -5. The time now is 03:18 AM.

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