[SOLVED]mpg321

[SOLVED]mpg321

Postby tarazed » May 2nd, '12, 23:17

Mageia 2 beta 3 : up-to-date : 64-bit : GNOME Classic

Mageia 2 is running well on my X51 but until now I have not tried sound. mpg321 downloaded from Sourceforge as a tarball. Extracted, ran configure with --prefix=/usr --libdir=/usr/lib64 and ran into a problem locating libmad; i.e. the script says that libmad is needed. Both the 32bit and 64bit packages are installed and have soft links called libmad.so.0 so I am wondering what to do now. This kind of problem happens again and again when installing from source and I have never seen any explanation for it. Any hints?
Last edited by tarazed on May 4th, '12, 11:27, edited 1 time in total.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: mpg321

Postby tarazed » May 3rd, '12, 00:24

I have decided to forget about mpg321 and try to find a way to interact with mplayer -nogui, from within a ruby script. Probably means dealing with pipes.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: mpg321

Postby ah7013 » May 3rd, '12, 00:25

Did you install devel package for libmad?
Code: Select all
urpmi lib64mad-devel


Also to compile mpg321 I also needed to install some other packages
Code: Select all
urpmi lib64id3tag-devel lib64ao-devel lib64alsa2-devel
Mageia 2 x86_64, KDE 4.8.5 on a Thinkpad Edge E520 - Intel Core i7-2640M 2.8GHZ, 16GB DDR3 RAM 1333MHz
Mageia 2 x86_64, KDE 4.8.5 on a Dell Studio 1555 - Intel Core 2 Duo T6600 2.2GHz, 8GB DDR2 RAM 800MHz
User avatar
ah7013
 
Posts: 74
Joined: Apr 9th, '11, 05:02
Location: Adelaide, Australia

Re: mpg321

Postby tarazed » May 3rd, '12, 00:41

Yes, I tried using something like urpmi -a libmad. There was a load of development libraries and a lot of conflicts which caused the install to fail. I shall try your command. Thanks.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: mpg321

Postby tarazed » May 3rd, '12, 00:48

Thanks ah7013. That all worked like a charm. mpg321 up and running.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: mpg321

Postby isadora » May 3rd, '12, 08:43

Image
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2764
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron