CentOS7 source installation MP3 code library Libmp3lame

Source: Internet
Author: User

The Libmp3lame library is already in the Debian Base Library and installed Apt-get install Libmp3lame-dev to

CentOS generally requires source installation, Yum installation cannot find a usable code warehouse

The following is the installation command

$ sudo yum install gcc git $ wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
$ TAR-XZF lame-3.99.5.tar.gz
$ CD lame-3.99.5
$./configure--enable-static--enable-shared
$ make
$ sudo make install
Before you run make, you can customize the compilation options with the appropriate options in configure. You can check the available options with the following command:

$./configure--help


Finally, you need to complete the final step because the lame shared library installed in/usr/local/lib may not be available in other programs.


Add this line in/etc/ld.so.conf:/usr/local/lib


Then run the following command. This adds the shared libraries (including lame) in/usr/local/lib to the dynamic load cache, which other programs can access.

$ sudo ldconfig



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.