Page 1 of 1

[SOLVED]mpg321

PostPosted: May 2nd, '12, 23:17
by tarazed
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?

Re: mpg321

PostPosted: May 3rd, '12, 00:24
by tarazed
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.

Re: mpg321

PostPosted: May 3rd, '12, 00:25
by ah7013
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

Re: mpg321

PostPosted: May 3rd, '12, 00:41
by tarazed
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.

Re: mpg321

PostPosted: May 3rd, '12, 00:48
by tarazed
Thanks ah7013. That all worked like a charm. mpg321 up and running.

Re: mpg321

PostPosted: May 3rd, '12, 08:43
by isadora
Image