SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Actually, all I want is to burn a cd on Slackware!!!
Using slackware64 13.1, multilib-enabled, tons of multimedia libs, etc. installed from SBo.
I have mp3s I want to make into an audio CD. I have no KDE. xfburn tells me:
Code:
MPEG-1 Layer 3 (MP3) decoder is missing.
You do not have a decoder installed to handle this file.
Probably you need to look at the gst-plugins-* packages
for the necessary plugins.
...So I try to install gst-plugins-ugly but the SlackBuild fails as well as the straight compiling the source from the project's home page :-(
Code:
/usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libgstmad.la] Error 1
make[3]: Leaving directory `/home/dimm/multimedias/gst-plugins-ugly-0.10.15/ext/mad'
make[2]: *** [mad] Error 2
make[2]: Leaving directory `/home/dimm/multimedias/gst-plugins-ugly-0.10.15/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dimm/multimedias/gst-plugins-ugly-0.10.15'
make: *** [all] Error 2
The "gst-plugins-bad" SlackBuild installed fine... and .ogg, .flac, and .wav are all accepted by xfburn.
/usr/lib64/libgobject-2.0.so and
/usr/lib/libgobject-2.0.so appear to be present on the system.
...So I try to install gst-plugins-ugly but the SlackBuild fails as well as the straight compiling the source from the project's home page :-(
Code:
/usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
You see that when a 64-bit environment is attempting to use a 32-bit shared library. I don't use multilib so I cannot help you, but those who do should be able to help.
your post subject is pretty misleading, since your problem is really that you can't compile the gst-plugins which a program that's not part of stock slackware requires. If all you want to do is burn a CD on slackware you could just use sox to convert your mp3s to cdda and then cdrecord to burn - both are part of a standard slackware install.
your post subject is pretty misleading, since your problem is really that you can't compile the gst-plugins which a program that's not part of stock slackware requires. If all you want to do is burn a CD on slackware you could just use sox to convert your mp3s to cdda and then cdrecord to burn - both are part of a standard slackware install.
Yeah, that's what I was gonna say, but I'm betting a GUI solution is wanted instead. If not, I'll post the commands.
Thanks for the replies, all, and thanks to you pg99 for understanding my newbish error. I had no idea stock Slackware could accomplish mp3-to-CD audio. H_TeXMeX_H, I would greatly appreciate some command line examples for use of sox. The man page was only a bit helpful.
FWIW, I ran sox on a group of mp3s and it wrote them all into one big file. I don't require a GUI solution, though I wouldn't reject one either.
I eventually would like to make xfburn handle the mp3s to audio cd conversion/burn.
Besides sox and lame, madplay and mpg123 can also decode mp3 streams to wav. Madplay has --output=[TYPE:]PATH with TYPE being cdda (and others). Audacious or xmms with the file writer plugin. But all that's a bit much IMO. Graveman is another burning application that uses stock Slackware applications. Many ways to skin a cat, choose the one you like
For your gstreamer problem, re-attempt to install gst-plugins-ugly, double check the arch and libdir settings. Your error message shows it's attempting to link to libraries in /usr/lib. In gstreamer land, mp3 encoding is handled by lame, while decoding is handled by mad.
Nohthing much to add to this except to say that I usually let sox output straight to CDDA format - sox knows to adjust sample-rates etc as needed, so no other options are necessary. Simple as
Code:
for i in *.mp3;do sox "$i" "$(basename "$i" .mp3).cdda";done
Then cdrecord will happily accept cdda files instead of wav.
Nohthing much to add to this except to say that I usually let sox output straight to CDDA format - sox knows to adjust sample-rates etc as needed, so no other options are necessary. Simple as
Code:
for i in *.mp3;do sox "$i" "$(basename "$i" .mp3).cdda";done
Then cdrecord will happily accept cdda files instead of wav.
Thanks, that's cool, I didn't know it could do that, I've always just specified the specs myself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.