LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 06-01-2006, 04:50 PM   #1
jbussoli
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Rep: Reputation: 0
Lame Segmentation fault in FC5 encoding from wav to mp3


Some scripts that I used to use seem to be broken. and the reason appears to be a lame error. Nothing has changed with my scripts since bringing them from my fedora core 3 box. The wav files are created and can be played back correctly. When I attempt to run the following command I get a "segmentation error" which results in lame not encoding anything to the target mp3 file.

$ lame -h filename.wav filename.mp3

I read in another post that simply uninstalling and re-installing lame will fix this problem. Unfortunately because of all of the dependancies that I have this is not an option for me.

Is anyone else experiencing this problem and know of a solution?

Thanks in advance.

Last edited by jbussoli; 06-01-2006 at 05:42 PM.
 
Old 06-02-2006, 05:30 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
The lame rpm has no unusual dependencies, other than a basic system in FC5:

Quote:
# rpm -q --requires lame
/sbin/ldconfig
/sbin/ldconfig
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.4)
libc.so.6(GLIBC_2.4)
libm.so.6
libm.so.6(GLIBC_2.0)
libncurses.so.5
ncurses >= 0:5.0
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
You can remove it with:

rpm -e lame

Reinstall the Livna version.
 
Old 06-02-2006, 06:25 PM   #3
jbussoli
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the response macemoneta,

I am running a Mythbox on the system and I'm afraid to break the entire mythsuite by doing this. When I checked the dependancies with yum it indicated that my entire mythsuite was dependant on lame and would be deleted if I removed lame. I would hate to ruin my perfectly installed mythtv system over something like lame.

If I run a rpm -e lame followed by a rpm -i lame will that break all of the dependacies that exist?

Also, I'm skeptical about the unistall - Reinstall fix. It doesn't really make alot of sense to me. Why would that fix anything?

Thanks again for the response.

Last edited by jbussoli; 06-02-2006 at 06:35 PM.
 
Old 06-02-2006, 06:41 PM   #4
jbussoli
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Well i tried the rpm -e lame and this is the result.


Quote:
$ rpm -e lame
error: Failed dependencies:
libmp3lame.so.0 is needed by (installed) mplayer-1.0-52_pre7try3.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) transcode-1.0.2-25.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) libavutil49-0.4.9-14_cvs20060301.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) libavcodec51-0.4.9-14_cvs20060301.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) libmyth-0.19-128.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) mythtv-frontend-0.19-128.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) mythdvd-0.19-124.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) mythmusic-0.19-124.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) mythbrowser-0.19-124.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) mythtv-backend-0.19-128.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) libavformat50-0.4.9-14_cvs20060301.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) libpostproc51-0.4.9-14_cvs20060301.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) ffmpeg-0.4.9-14_cvs20060301.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) libquicktime-0.9.8-15.rhfc5.at.i386
libmp3lame.so.0 is needed by (installed) mythtv-setup-0.19-128.rhfc5.at.i386
lame is needed by (installed) libmyth-0.19-128.rhfc5.at.i386
Sorry in my last post I did not see that you suggested to re-install a livna version of lame. Is that know to fix some problems from the core version. I notice that the atrpm fedora version is lame-3.96.1-10.rhfc5.at.i386.rpm and the livna version is lame-3.96.1-6.lvn5.i386.rpm6c. Am I breaking my dependancy tree by doing this?

is there a way to force the un-install?

Last edited by jbussoli; 06-02-2006 at 06:48 PM.
 
Old 06-02-2006, 07:33 PM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
To remove, ignoring the dependency tree:

rpm -e --nodeps lame

You can then re-install with:

rpm -ivh lame-x.y.z.rpm

You can try different versions until you find one that works for your situation. The Linva version has always been stable for me.
 
Old 06-05-2006, 06:58 PM   #6
jbussoli
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the Tip macemoneta but I don't want to break my dependancies over lame. What I have decided to do is switch over to oggenc until I can find the solution to the problem.
 
Old 06-05-2006, 07:30 PM   #7
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
I'm curious... How do you think you will resolve a software bug, without replacing the software?

As long as you re-install lame after removing it, no dependecies should be broken. In general, rpms are built with '>=' revision checks, so that later software can be used. If the MythTV rpms are not built that way (without a very good reason), then you can open a packaging bug with the project.

You can verify your dependencies are OK with:

package-cleanup --problems

If you don't have that installed:

yum -y install yum-utils

Note that even a pristine FC5 install comes with some dependency errors.
 
Old 06-07-2006, 02:15 PM   #8
jbussoli
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up

macemoneta,

Thanks for holding my hand through this one. Simply removing and installing the exact same package from ATrpms did the trick. I didn't even need to do anything else it just worked afterwards.

Strange.

Thanks again.

This issue is resolved for me.
 
  


Reply

Tags
lame, segmentation fault, solution


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
lame > incomplete mp3 encoding. linmix Linux - Software 3 12-29-2005 04:48 PM
wav to mp3 using wavr and lame igimaster Linux - Software 7 11-11-2005 12:22 PM
Lame segmentation fault siepmann Linux - Software 3 07-11-2005 01:49 PM
Lame 3.96.1 killed when converting wav to mp3 sludink Linux - Software 0 01-14-2005 11:07 AM
Converting 8-bit wav to mp3 with Lame? lsakhvoruk Linux - Software 0 10-09-2002 06:12 PM


All times are GMT -5. The time now is 07:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration