Solving missing library problems

From Notes_Wiki
Revision as of 13:30, 9 January 2013 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>System_troubleshooting|System troubleshooting</yambe:breadcrumb> =Solving missing library problems= To find dynamic libraries requred by an executable use: ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>System_troubleshooting|System troubleshooting</yambe:breadcrumb>

Solving missing library problems

To find dynamic libraries requred by an executable use:

ldd <file_name>

To find out path where executable will look for library use:

readelf -d <file_name> | grep RPATH

Many times on x86_64 systems the library could be installed but it may be 64-bit version installed in /lib64 or /usr/lib64. To install equivalent version of library in /lib or /usr/lib, use yum to install same package with 'i686' appended to name. For example, 'libstdc++-devel.i686'