While looking for a light weight way to run XChat all the time without having to disconnect every time I shutdown my laptop I discovered NoMachine NX which is easy to install, configure, and use. It provides remote X sessions and is fairly reasonable in terms of bandwidth. When installing the NX Client on one of the CentOS servers I was installing this on I ran into an error complaining about libaudiofile. Below I describe the error in more detail, how I located the package to install, and show the package being installed.

Failed Dependency Error Installing NX Client On CentOS Linux:

bash

[root@dev src]# rpm -Uhv nxclient-3.4.0-7.i386.rpm

error: Failed dependencies:

libaudiofile.so.0 is needed by nxclient-3.4.0-7.i386

[root@dev src]#

I used he “yum whatprovides” as shown below to locate the package that provides the libaudiofile library.

Search Yum Repos For Package That Provides libaudiofile:

bash

[root@dev src]# yum whatprovides *libaudiofile.so.0*

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* addons: mirrors.adams.net

* base: mirror.steadfast.net

* extras: mirror.batblue.com

* updates: mirror.team-cymru.org

1:audiofile-0.2.6-5.i386 : A library for accessing various audio file formats.

Repo : base

Matched from:

Filename : /usr/lib/libaudiofile.so.0.0.2

Other : libaudiofile.so.0

Filename : /usr/lib/libaudiofile.so.0

[root@dev src]#

As you can see above the audiofile package provides the libaudiofile library and can easily be installed via yum using the below syntax.