Finding missing libraries for building software from source


This quick tip explains how to find “missing” libraries for building software from source. Let’s say you want to build and application which requires “Xm” headers to be installed.

How do you actually know which package to install? Each SuSE media includes a file in the root directory named ARCHIVES.gz with all files/package names.

root@geeko:~ # zgrep -w Xm.h /mnt/cdrom/ARCHIVES.gz | awk '{print $1"\t"$10}'
./DVD1/suse/i586/openmotif-devel-2.2.4-21.12.i586.rpm:  /usr/X11R6/include/Xm/Xm.h
root@geeko:~ #

Which tells me I need to install “openmotif-devel” devel package.

On SuSE Linux Enterprise Desktop/Server you more likely to need the SDK media (software development kit) available to find most development packages.


(Visited 1 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *

No comments yet