---
title: "[CentOS 5.4] error while loading shared libraries"
author: "SilverRing"
date: "2010-10-29T15:16:57Z"
tags: []
categories: ["操作系统"]
slug: "centos-5-4-error-while-loading-shared-libraries"
draft: false
lastmod: "2010-10-29T15:16:57Z"
id: 797714
url: "https://silverring.iteye.com/blog/797714"
---

Today I got an error like this one:


> 
> error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory
> 


After checking the system, I found lame is properly installed. The only possibility is this library can't be found. A simple link should solve the problem.


> 
> ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
>