LinuxQuestions.org
Help answer threads with 0 replies.
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 04-11-2004, 10:37 PM   #1
linux123456
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Rep: Reputation: 0
libmp3lame.so.0 where?.


When I try to install Mplayer on Fedora core 1, it needs libmp3.so.0, but where from I get that package?
 
Old 04-11-2004, 10:53 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
http://lame.sourceforge.net/download/download.html

Last edited by megaspaz; 04-11-2004 at 10:57 PM.
 
Old 04-12-2004, 01:09 PM   #3
linux123456
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I download the src.rpm package of lame, and try to install in the following way,
1. rpm -Uvh packagename*.src.rpm
2. cd /usr/src/redhat/SPECS
3. rpm -bp packagename*.spec

In the third step I got an error that was
-bp: unknown option

Anybody knows the correct option?. I am using Fedora Core 1, and installed following packages
gcc, make, glibc, glibc-devel, binutils

Do I need to install anything more?.
 
Old 04-12-2004, 06:18 PM   #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 need to rebuild a *.src.rpm first before you can install it.

basically as root:

rpm --rebuild *.src.rpm

i don't use fedora so i don't know how different it's file structure is from red hat. but for me, after rebuilding, rpm binaries are found in /usr/src/redhat/RPMS/i386
 
Old 04-12-2004, 10:27 PM   #5
linux123456
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I found the step described by me, is in a book for installing SRPM packages, so that is wrong?.
 
Old 04-12-2004, 11:37 PM   #6
linux123456
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Hi,
I installed the lame20011211-1.src.rpm file bu the following,
1. rpm -Uvh lame*
then I found in the directory /usr/src/redhat/SOURCES a lame2002alpha.tar.bz2
I Uncompressed and install by.

./configure
make
make install

(As per instruction from a install file on that directory).

In my area a very few linux users, so please let me know the way I installed is correct or not?.

And also mplayer (.rpm format ), can't install, because libmp3lame.so.0 is not found?. I thhink that is becuase of libmp3lame.so.0 not installed as a rpm package. Anything can Do?.
 
Old 04-13-2004, 03:38 AM   #7
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
that is one way to install an srpm. i like building a binary rpm myself from a source rpm, but the way you did it will work.

do a locate on libmp3lame.so.0:

locate libmp3lame.so.0

it should be in /usr/lib

basically on my system, libmp3lame.so.0 is a symlink to libmp3lame.so.0.0.0. now that i think about it, the package may not install libmp3lame.so.0, but libmp3lame.so.0.0.0. so as root make a symlink to libmp3lame.so.0.0.0:

ln -s /usr/lib/libmp3lame.so.0.0.0 /usr/lib/libmp3lame.so.0

i also have a symlink, /usr/lib/libmp3lame.so, to /usr/lib/libmp3lame.so.0.0.0 . so again, you may need to make a symlink called libmp3lame.so.0 in /usr/lib that points to /usr/lib/libmp3lame.so.0
 
Old 08-22-2004, 03:44 AM   #8
aprax
LQ Newbie
 
Registered: Aug 2004
Posts: 15

Rep: Reputation: 0
Hi, I'm running into the same problems trying to install mplayer.


I performed all of the current installation instructions using the rpm command on the lame20011211-1.src.rpm file, and then uncompressed the TAR file and installed it using the same commands like the person linux123456 but I still cannot locate the libmp3lame.so.0 file in the directory of /usr/lib. And I still can't install mplayer either. Did I miss something in the installation process?


Thanks a bunch.
 
Old 08-22-2004, 04:08 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
again, most likely you'll need to create a symlink called libmp3lame.so.0 that points to your main libmp3lame shared lib. the file mplayer is complaining about seems to be provided with an older version of lame. it was provided by my rpm package. anyhoo...

look at what the lame rpm provides and look for the *.so.* file. or just locate that file and create a symlink to that file.

[user@your_comp] $ locate libmp3lame
/usr/lib/libmp3lame.so.0.0.0
/usr/lib/libmp3lame.a
/usr/lib/libmp3lame.la
[user@your_comp] $ su
<enter root password>
[root@your_comp] $ ln -s /usr/lib/libmp3lame.so.0.0.0 /usr/lib/libmp3lame.so.0

normally the main *.so file to link to will have something like *.so.X.X.X where the X is some number dependant on the version of lame you're using.

and if you're wanting to use audacity, you do the same thing for libmp3lame.so if audacity can't find it.

nothing about this is too difficult and should be a simple fix.
 
Old 08-22-2004, 07:29 AM   #10
aprax
LQ Newbie
 
Registered: Aug 2004
Posts: 15

Rep: Reputation: 0
Thanks for that really fast reply

Ok, I finally got mplayer installed, and I tried to put The Bourne Identity into the DVD drive and typed in the command:

mplayer /dev/hdd


The movie played for about two seconds and then crashed. I also got this output from the terminal window. I think I didn't have the correct codec, if so, what do I need to install now? And I also see that I don't have any audio stream, what do I need to install for audio?


Playing /dev/hdd.
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8000.0 kbps (1000.0 kbyte/s)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
V: 0.3 15 0% 0% 0.0% 0 0 0%
Successfully enabled DPMS

Exiting... (End of file)The Bourne Identity The Bourne Identity

Last edited by aprax; 08-22-2004 at 01:51 PM.
 
Old 08-22-2004, 02:01 PM   #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
try putting in another dvd. mplayer shouldn't crash on dvd playback. also make sure your dvd player is using dma. do a 'man hdparm'. can only be run as root. if it complains about the command not being found, do an 'su -' to login as root from your user account. also, did you install libdvdcss? that's used for decrypting the CSS encryption in dvds. check that you've installed all the mplayer dependancies (although, i'm assuming you did since mplayer compiled and installed). also, did you try to do something like adjust the volume of mplayer when the video was running? there's a bug in the newest mplayer dealing with the volume control which i've had crash mplayer trying to adjust the volume during playback.

if all else fails try out xine (i use xine pretty exclusively).

Last edited by megaspaz; 08-22-2004 at 02:03 PM.
 
Old 08-22-2004, 03:08 PM   #12
aprax
LQ Newbie
 
Registered: Aug 2004
Posts: 15

Rep: Reputation: 0
Ok, I installed two additional codecs called Divx and XviD and reran the ./configure, but to no avail. You said something about a file called, libdvdcss, where can I download that? If that fails, I'll try Xine, and where can you download that also?
 
Old 08-22-2004, 03:19 PM   #13
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
what distro are you using?

http://www.fr.linuxfromscratch.org/v...libdvdcss.html

if you're using redhat, search here: http://freshrpms.net/packages/

xine:
http://xinehq.de/index.php/releases

you'll need the xine-lib tarball and the xine-ui tarball ( i suggest using the xine-ui version of 0.99.1 as i had freezing/cpu_usage problems with the newest version of xine-ui).

check to see that all the dependancies are taken care of for xine (they should be if you've successfully installed mplayer). install libdvdcss first though. also, if mplayer won't work for files on your hard drive (a good indicator if you'll be able to watch embedded videos on the web - it should though), download kaffeine from the xine website and use that for watching embedded videos on the web (using konqueror). for mozilla and opera, you need to also install the kaffeine starter plugin which unfortunately only launches the kaffeine player and doesn't view the video in your browser. i mostly use xine myself since i have problems with mplayer and mplayer using its own codecs packages (xine doesn't have a problem using mplayer's codec packages ).

Last edited by megaspaz; 08-22-2004 at 03:23 PM.
 
Old 08-22-2004, 05:53 PM   #14
aprax
LQ Newbie
 
Registered: Aug 2004
Posts: 15

Rep: Reputation: 0
I'm currently using the Fedora Core 1 Linux version

Ok, I finally installed Xine and ran the command Xine /dev/hdd

I get a dialog box saying:
There is no demuxer plugin available to handle /dev/hdd Usually this means that the file format was not recognized

I clicked the "more..." button and found this entry


xine: couldn't find demux for >/dev/hdd<

Any solutions? Thanks for your current help
 
Old 08-23-2004, 03:02 AM   #15
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
why are you using /dev/hdd? what's your logical device label for your dvd? is it /dev/cdrom or something like that?

as root:

ln -s /dev/cdrom /dev/dvd

xine is set at default to look for /dev/dvd as the dvd playback device. and when you want to run xine to play a dvd, just use the command xine and click the dvd button on the ui with your dvd in the dvd drive.
 
  


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
libmp3lame.so.0 is missing sripathi_venky Linux - Software 3 09-04-2006 01:48 PM
libmp3lame.so.o is needed! roy.hu Linux - Software 11 04-08-2005 04:08 AM
Where can I find libmp3lame.so for audacity? akihandyman Mandriva 4 07-18-2004 11:46 AM
Libmp3lame.so.0 and mplayer arubin Slackware 7 07-11-2004 12:36 PM
Mplayer libmp3lame NewbGhostShells Linux - Software 7 01-16-2004 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:51 AM.

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